From: Chuck Hagenbuch Date: Mon, 4 Dec 2000 21:03:17 +0000 (+0000) Subject: have PEAR::isError() not take parameters by reference for now. X-Git-Tag: php-4.0.5RC1~1018 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c18ce859cb07c6517ad8d325d51f2cf99c296d47;p=php have PEAR::isError() not take parameters by reference for now. --- diff --git a/pear/PEAR.php.in b/pear/PEAR.php.in index c220a5a060..06138fec7e 100644 --- a/pear/PEAR.php.in +++ b/pear/PEAR.php.in @@ -108,7 +108,7 @@ class PEAR * @access public * @return bool true if $data is an error */ - function isError(&$data) { + function isError($data) { return (bool)(is_object($data) && (get_class($data) == "pear_error" || is_subclass_of($data, "pear_error")));