From 52010a3e9d9f0b734036722368a5f879237ad451 Mon Sep 17 00:00:00 2001 From: mark_story Date: Thu, 20 Oct 2011 21:38:31 -0400 Subject: [PATCH] Fix double encoding in debug(). --- lib/Cake/Utility/Debugger.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Utility/Debugger.php b/lib/Cake/Utility/Debugger.php index 0c02940bb..ff28583dd 100644 --- a/lib/Cake/Utility/Debugger.php +++ b/lib/Cake/Utility/Debugger.php @@ -464,7 +464,7 @@ class Debugger { if (trim($var) == '') { return "''"; } - return "'" . h($var) . "'"; + return "'" . $var . "'"; break; case 'array': return self::_array($var, $depth - 1, $indent + 1);