summaryrefslogtreecommitdiff
path: root/program/lib/PEAR.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/lib/PEAR.php
parent54d074613fede481758049c445c502acfe0ebe6a (diff)
Exclude E_STRICT from error_reporting for PHP 5.4
Diffstat (limited to 'program/lib/PEAR.php')
-rw-r--r--program/lib/PEAR.php2
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;