aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/template.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-08-17 21:29:20 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-08-17 21:29:20 +0000
commit8257d1c82809165608b33268a561b53fd78675a4 (patch)
treef9bafd9ffb0366754f10c43752e8e5173f26342e /phpBB/includes/template.php
parent6b75e8ffcb805c9b7827ed4ecd70fbccf012a27b (diff)
downloadforums-8257d1c82809165608b33268a561b53fd78675a4.tar
forums-8257d1c82809165608b33268a561b53fd78675a4.tar.gz
forums-8257d1c82809165608b33268a561b53fd78675a4.tar.bz2
forums-8257d1c82809165608b33268a561b53fd78675a4.tar.xz
forums-8257d1c82809165608b33268a561b53fd78675a4.zip
ok, the nasty one then... :/
git-svn-id: file:///svn/phpbb/trunk@8044 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/template.php')
-rw-r--r--phpBB/includes/template.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/includes/template.php b/phpBB/includes/template.php
index f8db087d48..b13dbaa99a 100644
--- a/phpBB/includes/template.php
+++ b/phpBB/includes/template.php
@@ -149,6 +149,14 @@ class template
{
global $user;
+ if (defined('IN_ERROR_HANDLER'))
+ {
+ if ((E_NOTICE & error_reporting()) == E_NOTICE)
+ {
+ error_reporting(error_reporting() ^ E_NOTICE);
+ }
+ }
+
if ($filename = $this->_tpl_load($handle))
{
($include_once) ? include_once($filename) : include($filename);