Skip to content

Commit

Permalink
fixed Debug::dump() notice error when using XDebug >= v2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
WanWizard committed Jun 2, 2016
1 parent 5ea8d04 commit 4ab2513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/debug.php
Expand Up @@ -233,7 +233,7 @@ public static function format($name, $var, $level = 0, $indent_char = ' &nb
ob_end_clean();

// process it based on the xdebug presence and configuration
if (extension_loaded('xdebug') and ini_get('xdebug.overload_var_dump') === '1')
if (extension_loaded('xdebug') and ini_get('xdebug.overload_var_dump'))
{
if (ini_get('html_errors'))
{
Expand Down

0 comments on commit 4ab2513

Please sign in to comment.