summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pear/PEAR.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pear/PEAR.php b/pear/PEAR.php
index 169e3ea779..977fa836ef 100644
--- a/pear/PEAR.php
+++ b/pear/PEAR.php
@@ -750,7 +750,7 @@ class PEAR_Error
is_object($this->callback[0]) &&
is_string($this->callback[1]) &&
strlen($this->callback[1])) {
- @call_user_method($this->callback[1], $this->callback[0],
+ @call_user_func($this->callback[0], $this->callback[1],
$this);
}
}