summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2002-10-08 13:02:31 +0000
committerDerick Rethans <derick@php.net>2002-10-08 13:02:31 +0000
commitfa5ce6bbfa7b42c0860db4f565ba1535a307e5b0 (patch)
tree07a356c8093aafc6abd7378fb6b1996b07c7b914
parent2af2e628509b507103d0200cdbae0c4c806319a1 (diff)
downloadphp-git-fa5ce6bbfa7b42c0860db4f565ba1535a307e5b0.tar.gz
- Fix for deprecated 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 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);
}
}