Bugfix: Don't replace {body} twice in the page renderer
This commit is contained in:
parent
daa8ac2a3b
commit
516aebeaac
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue