From 76d7735f8de76dfc4fa0ff671e5f18ae025bbcf3 Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Sat, 24 Mar 2012 22:52:29 +0000 Subject: Committer 2nd part of patch for #391 --- framework/TComponent.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'framework/TComponent.php') diff --git a/framework/TComponent.php b/framework/TComponent.php index dbcf4a60..dcc1064c 100644 --- a/framework/TComponent.php +++ b/framework/TComponent.php @@ -590,6 +590,8 @@ class TPropertyValue */ public static function ensureString($value) { + if (TJavaScript::isJsLiteral($value)) + return $value; if (is_bool($value)) return $value?'true':'false'; else -- cgit v1.2.3