summaryrefslogtreecommitdiff
path: root/program/include/rcube_charset.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2012-03-04 07:59:46 +0000
committeralecpl <alec@alec.pl>2012-03-04 07:59:46 +0000
commit66d2152ab57b1267552c75243919945b1ffc49bb (patch)
tree57ac9ca0c3147ab1247dbb5396debafee53f7356 /program/include/rcube_charset.php
parent54d074613fede481758049c445c502acfe0ebe6a (diff)
Exclude E_STRICT from error_reporting for PHP 5.4
Diffstat (limited to 'program/include/rcube_charset.php')
-rw-r--r--program/include/rcube_charset.php2
1 files changed, 1 insertions, 1 deletions
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);
}