From 8bfd22615daf05e25208e7dc90a5a9b607589874 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Wed, 06 Feb 2013 11:17:36 -0500 Subject: [PATCH] Fixed: FS#2420 - PHP 5.4 warnings --- server/lib/classes/tpl_error.inc.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/server/lib/classes/tpl_error.inc.php b/server/lib/classes/tpl_error.inc.php index d15b80a..171a04f 100644 --- a/server/lib/classes/tpl_error.inc.php +++ b/server/lib/classes/tpl_error.inc.php @@ -31,7 +31,7 @@ | DO NOT TOUCH ANYTHING IN THIS CLASS IT MAY NOT WORK OTHERWISE | \-----------------------------------------------------------------------------*/ - function raiseError ($code, $level = null, $extra=null) { + public static function raiseError ($code, $level = null, $extra=null) { if (!($level & error_reporting())&& $level != KILL) return; // binary AND checks for reporting level $error_codes = array( -- Gitblit v1.9.1