Bugfix: Don't replace {body} twice in the page renderer

This commit is contained in:
Starbeamrainbowlabs 2015-09-20 15:58:51 +01:00
parent daa8ac2a3b
commit 516aebeaac
2 changed files with 1 additions and 2 deletions

View File

@ -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);

View File

@ -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);