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/lib/PEAR.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/lib/PEAR.php b/program/lib/PEAR.php index 8cc7152..f4dfd96 100644 --- a/program/lib/PEAR.php +++ b/program/lib/PEAR.php @@ -263,7 +263,7 @@ * @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; -- Gitblit v1.9.1