mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 04:23:01 +00:00
Bugfix: Don't replace {body} twice in the page renderer
This commit is contained in:
parent
daa8ac2a3b
commit
516aebeaac
2 changed files with 1 additions and 2 deletions
|
@ -639,7 +639,7 @@ class page_renderer
|
|||
}
|
||||
|
||||
$result = self::$html_template;
|
||||
$result = str_replace("{body}", $parts["{body}"], $result);
|
||||
// $result = str_replace("{body}", $parts["{body}"], $result);
|
||||
|
||||
$result = str_replace(array_keys($parts), array_values($parts), $result);
|
||||
|
||||
|
|
1
core.php
1
core.php
|
@ -418,7 +418,6 @@ class page_renderer
|
|||
}
|
||||
|
||||
$result = self::$html_template;
|
||||
$result = str_replace("{body}", $parts["{body}"], $result);
|
||||
|
||||
$result = str_replace(array_keys($parts), array_values($parts), $result);
|
||||
|
||||
|
|
Loading…
Reference in a new issue