Fix encoding issues with debug().

Fixes #2199
This commit is contained in:
mark_story 2011-11-02 13:45:11 -04:00
parent 3fc6d293fc
commit 201231cd42

View file

@ -106,7 +106,7 @@ TEXT;
}
$var = print_r($var, true);
if ($showHtml) {
$var = htmlentities($var);
$var = h($var);
}
printf($template, $file, $line, $var);
}