summaryrefslogtreecommitdiff
path: root/program/lib
diff options
context:
space:
mode:
Diffstat (limited to 'program/lib')
-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;