summaryrefslogtreecommitdiff
path: root/pear/PEAR.php
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2002-10-08 13:17:01 +0000
committerPierre Joye <pajoye@php.net>2002-10-08 13:17:01 +0000
commit54d920dd3cc3cc29a3a0c5f1f647c1c0fb12ae71 (patch)
treede1f1012e70728c1bd81404638f1e4ed3242a8e6 /pear/PEAR.php
parentfa5ce6bbfa7b42c0860db4f565ba1535a307e5b0 (diff)
downloadphp-git-54d920dd3cc3cc29a3a0c5f1f647c1c0fb12ae71.tar.gz
Sorry Derick, generated the wrong patch
and we don't need to recreate an array ;)
Diffstat (limited to 'pear/PEAR.php')
-rw-r--r--pear/PEAR.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/pear/PEAR.php b/pear/PEAR.php
index 977fa836ef..5b76d75404 100644
--- a/pear/PEAR.php
+++ b/pear/PEAR.php
@@ -750,8 +750,7 @@ class PEAR_Error
is_object($this->callback[0]) &&
is_string($this->callback[1]) &&
strlen($this->callback[1])) {
- @call_user_func($this->callback[0], $this->callback[1],
- $this);
+ @call_user_func($this->callback, $this);
}
}
}