]> granicus.if.org Git - php/commitdiff
have PEAR::isError() not take parameters by reference for now.
authorChuck Hagenbuch <chagenbu@php.net>
Mon, 4 Dec 2000 21:03:17 +0000 (21:03 +0000)
committerChuck Hagenbuch <chagenbu@php.net>
Mon, 4 Dec 2000 21:03:17 +0000 (21:03 +0000)
pear/PEAR.php.in

index c220a5a06089189b1eb5ee8c9ae7d2a4ca7962c6..06138fec7e439b6b81c823c2297160ec333a70c2 100644 (file)
@@ -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")));