[Patch] PEAR_Error not calling static method callbacks for error-handler
| From: | Alan Morey | Date: | Thu, 20 Nov 2003 19:30:44 +0000 |
| Subject: | [Patch] PEAR_Error not calling static method callbacks for error-handler | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-23777@lists.php.net to get a copy of this message | ||
Hi all,
If $this->callback is an array PEAR_Error only checks that the first
element is an object.
Patch uses is_callable() to check for valid callback.
-
alan