summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas V.V.Cox <cox@php.net>2003-07-10 11:35:37 +0000
committerTomas V.V.Cox <cox@php.net>2003-07-10 11:35:37 +0000
commit8c7c27b93abf5e71313ba96e111d081a3ce88355 (patch)
treeb7fd45d0160ac0ce7cd0403414a7fd8f5317179a
parent16fb3e91c02f3e8589cdff20b24a84299865c821 (diff)
downloadphp-git-8c7c27b93abf5e71313ba96e111d081a3ce88355.tar.gz
Expose PHP errors on error callback function
-rw-r--r--pear/PEAR.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pear/PEAR.php b/pear/PEAR.php
index 5305537fb1..ec98d5576f 100644
--- a/pear/PEAR.php
+++ b/pear/PEAR.php
@@ -769,7 +769,7 @@ class PEAR_Error
is_object($this->callback[0]) &&
is_string($this->callback[1]) &&
strlen($this->callback[1])) {
- @call_user_func($this->callback, $this);
+ call_user_func($this->callback, $this);
}
}
if (PEAR_ZE2 && $this->mode & PEAR_ERROR_EXCEPTION) {