Re: Re: PEAR_Error test
| From: | Pierre-Alain Joye | Date: | Tue, 08 Oct 2002 12:53:54 +0000 |
| Subject: | Re: Re: PEAR_Error test | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-9931@lists.php.net to get a copy of this message | ||
Hello,
Here is the "fix"
--- ./pear/PEAR.php Tue Oct 8 14:52:13 2002
+++ /data/pear/cvsroot/php4/pear/PEAR.php Sat Sep 28 04:23:04 2002
@@ -750,8 +750,8 @@ class PEAR_Error
is_object($this->callback[0]) &&
is_string($this->callback[1]) &&
strlen($this->callback[1])) {
- @call_user_func(array($this->callback[0],
&$this->callback[1]),-
$this);+ @call_user_method($this->callback[1],
$this->callback[0],+ $this);
}
}
}