Skip to content
Snippets Groups Projects
Commit 4fd6e7e3 authored by Adrien Faveraux's avatar Adrien Faveraux
Browse files

litle fix

parent d710deda
No related branches found
No related tags found
1 merge request!337Php7 constructor
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment