tbrehm
2013-02-06 8bfd22615daf05e25208e7dc90a5a9b607589874
Fixed: FS#2420 - PHP 5.4 warnings
2 files modified
4 ■■■■ changed files
interface/lib/classes/tpl_error.inc.php 2 ●●● patch | view | raw | blame | history
server/lib/classes/tpl_error.inc.php 2 ●●● patch | view | raw | blame | history
interface/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(
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(