From de68d30edb21f1b70c4f02afcb4d2b41a2da3f04 Mon Sep 17 00:00:00 2001 From: alec Date: Sun, 4 Mar 2012 07:59:46 +0000 Subject: Exclude E_STRICT from error_reporting for PHP 5.4 git-svn-id: https://svn.roundcube.net/trunk@5958 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/lib/PEAR.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roundcubemail/program/lib/PEAR.php') diff --git a/roundcubemail/program/lib/PEAR.php b/roundcubemail/program/lib/PEAR.php index 8cc715204..f4dfd968a 100644 --- a/roundcubemail/program/lib/PEAR.php +++ b/roundcubemail/program/lib/PEAR.php @@ -263,7 +263,7 @@ class PEAR * @access public * @return bool true if parameter is an error */ - function isError($data, $code = null) + static function isError($data, $code = null) { if (!is_object($data) || !is_a($data, 'PEAR_Error')) { return false; -- cgit v1.2.3