1
0

* Patch PEAR.php to use "static" isError declaration to prevent

PHP error messages
This commit is contained in:
Garvin Hicking
2015-01-05 12:44:58 +01:00
parent adfb237b4a
commit 7f6194e195
2 changed files with 4 additions and 1 deletions

View File

@ -254,7 +254,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_a($data, 'PEAR_Error')) {
return false;