diff options
| author | Martin Jansen <mj@php.net> | 2003-03-13 21:07:40 +0000 |
|---|---|---|
| committer | Martin Jansen <mj@php.net> | 2003-03-13 21:07:40 +0000 |
| commit | 1188dbe64fc00648303991abe883f618b8c354c3 (patch) | |
| tree | 105b0ec4b8e3501ec4c446c335f296eff5bccca7 | |
| parent | dedfa808bb0a525fac88c5158c12ff818aa50774 (diff) | |
| download | php-git-1188dbe64fc00648303991abe883f618b8c354c3.tar.gz | |
* Fixing bug #21845.
| -rw-r--r-- | pear/PEAR.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pear/PEAR.php b/pear/PEAR.php index ebaf837d94..c4a0d94b0e 100644 --- a/pear/PEAR.php +++ b/pear/PEAR.php @@ -533,7 +533,7 @@ class PEAR $code = null, $userinfo = null) { - if (isset($this)) { + if (isset($this) && is_subclass_of($this, 'PEAR_Error')) { return $this->raiseError($message, $code, null, null, $userinfo); } else { return PEAR::raiseError($message, $code, null, null, $userinfo); |
