From 66d2152ab57b1267552c75243919945b1ffc49bb Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Sun, 04 Mar 2012 02:59:46 -0500
Subject: [PATCH] Exclude E_STRICT from error_reporting for PHP 5.4

---
 program/include/rcube_charset.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/include/rcube_charset.php b/program/include/rcube_charset.php
index e52e82e..7e8fe49 100644
--- a/program/include/rcube_charset.php
+++ b/program/include/rcube_charset.php
@@ -78,7 +78,7 @@
      * @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);
     }

--
Gitblit v1.9.1