aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/includes/template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/template.php b/phpBB/includes/template.php
index 8529b90719..8d7eb57dc4 100644
--- a/phpBB/includes/template.php
+++ b/phpBB/includes/template.php
@@ -289,11 +289,11 @@ class phpbb_template
{
ob_start();
$result = $this->display($handle, $include_once);
+ $contents = ob_get_clean();
if ($result === false)
{
return false;
}
- $contents = ob_get_clean();
if ($return_content)
{