From 8c7c27b93abf5e71313ba96e111d081a3ce88355 Mon Sep 17 00:00:00 2001 From: "Tomas V.V.Cox" Date: Thu, 10 Jul 2003 11:35:37 +0000 Subject: [PATCH] Expose PHP errors on error callback function --- pear/PEAR.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.40.0