From 66d2152ab57b1267552c75243919945b1ffc49bb Mon Sep 17 00:00:00 2001 From: alecpl Date: Sun, 4 Mar 2012 07:59:46 +0000 Subject: Exclude E_STRICT from error_reporting for PHP 5.4 --- program/include/rcube_charset.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/include/rcube_charset.php') diff --git a/program/include/rcube_charset.php b/program/include/rcube_charset.php index e52e82ec6..7e8fe4997 100644 --- a/program/include/rcube_charset.php +++ b/program/include/rcube_charset.php @@ -78,7 +78,7 @@ class rcube_charset * @param int Level of the error * @param string Error message */ - public function error_handler($errno, $errstr) + public static function error_handler($errno, $errstr) { throw new ErrorException($errstr, 0, $errno); } -- cgit v1.2.3