summaryrefslogtreecommitdiff
path: root/program/include/rcube_charset.php
diff options
context:
space:
mode:
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);
}