Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Benedikt Hofstätter committed Feb 20, 2019
1 parent 2f35755 commit 59fdc9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WkController.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function getHeaderFooterVariables() {
$vars['flush']
);

if (isset($vars['page']) && strpos($vars['page'], '§ion=') !== -1) {
if (isset($vars['page']) && strpos($vars['page'], '§ion=') !== false) {
$parts = explode('§', $vars['page']);
$vars['page'] = $parts[0];
$vars['section'] = str_replace('ion=', '', $parts[1]);
Expand Down

0 comments on commit 59fdc9a

Please sign in to comment.