diff options
author | alecpl <alec@alec.pl> | 2012-03-04 07:59:46 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2012-03-04 07:59:46 +0000 |
commit | 66d2152ab57b1267552c75243919945b1ffc49bb (patch) | |
tree | 57ac9ca0c3147ab1247dbb5396debafee53f7356 /program/lib | |
parent | 54d074613fede481758049c445c502acfe0ebe6a (diff) |
Exclude E_STRICT from error_reporting for PHP 5.4
Diffstat (limited to 'program/lib')
-rw-r--r-- | program/lib/PEAR.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/PEAR.php b/program/lib/PEAR.php index 8cc715204..f4dfd968a 100644 --- a/program/lib/PEAR.php +++ b/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; |