Browse Source

Fix encoding issues with debug().

Fixes #2199
mark_story 14 years ago
parent
commit
201231cd42
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Cake/basics.php

+ 1 - 1
lib/Cake/basics.php

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