Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.0.6, 4.0.7, 4.1.3, 4.1.4, 4.2.0
-
None
-
Operating System: Leopard 10.5.8
PHP Version: 5.3
MySQL Version: 5.0.51a
eZ-Publish Version: 4.1.3
Description
There is a syntax error at the ezdebug.php in lines 1059 and 1061.
At those lines there is used str_pad-function
and as you can read from the PHP-manual it has too many quotation marks.
http://php.net/manual/en/function.str-pad.php
Original codes from the lines 1059 and 1061 which causes syntax errors:
$binnet = str_pad( decbin( $lnet ), 32, "0", "STR_PAD_LEFT" );
$binip = str_pad( decbin( $lip ), 32, "0", "STR_PAD_LEFT" );
Fixed codes that won't cause errors:
$binnet = str_pad( decbin( $lnet ), 32, "0", STR_PAD_LEFT );
$binip = str_pad( decbin( $lip ), 32, "0", STR_PAD_LEFT );