Navigation Menu

Skip to content

Commit

Permalink
Fix encoding issues with debug().
Browse files Browse the repository at this point in the history
Fixes #2199
  • Loading branch information
markstory committed Nov 2, 2011
1 parent 3fc6d29 commit 201231c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/basics.php
Expand Up @@ -106,7 +106,7 @@ function debug($var = false, $showHtml = null, $showFrom = true) {
}
$var = print_r($var, true);
if ($showHtml) {
$var = htmlentities($var);
$var = h($var);
}
printf($template, $file, $line, $var);
}
Expand Down

0 comments on commit 201231c

Please sign in to comment.