diff --git a/PEAR.php b/PEAR.php index 9511884167938fc662dc799d9d58a19a03e0c688..be09432e118527112e384613c38da4de9e0efd61 100644 --- a/PEAR.php +++ b/PEAR.php @@ -849,7 +849,7 @@ class PEAR_Error * @access public * */ - public function __construct($message = 'unknown error', $code = null, + function __construct($message = 'unknown error', $code = null, $mode = null, $options = null, $userinfo = null) { if ($mode === null) { @@ -913,7 +913,7 @@ class PEAR_Error // PHP4-style constructor. // This will NOT be invoked, unless a sub-class that extends `foo` calls it. // In that case, call the new-style constructor to keep compatibility. - self::__construct(); + self::__construct($message, $code,$mode, $options, $userinfo); }