From 4fd6e7e3b7c26330a0d0dea657b77047bd743c5a Mon Sep 17 00:00:00 2001 From: Adrien <af@brain-networks.fr> Date: Tue, 8 Jan 2019 10:06:28 +0100 Subject: [PATCH] litle fix --- PEAR.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PEAR.php b/PEAR.php index 951188416..be09432e1 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); } -- GitLab