diff options
author | ctrlaltca@gmail.com <> | 2012-03-24 22:52:29 +0000 |
---|---|---|
committer | ctrlaltca@gmail.com <> | 2012-03-24 22:52:29 +0000 |
commit | 76d7735f8de76dfc4fa0ff671e5f18ae025bbcf3 (patch) | |
tree | aa7e542d5aeeb4d9a09769cc3beb45d6aaf180fe /framework/TComponent.php | |
parent | fd1a685c494bc183adae9b1748ee79e66c4ff7c2 (diff) |
Committer 2nd part of patch for #391
Diffstat (limited to 'framework/TComponent.php')
-rw-r--r-- | framework/TComponent.php | 2 |
1 files changed, 2 insertions, 0 deletions
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 |