diff options
author | xue <> | 2007-12-20 01:37:06 +0000 |
---|---|---|
committer | xue <> | 2007-12-20 01:37:06 +0000 |
commit | ab5a251cde9abac9038e9652089b2a32bbff5d05 (patch) | |
tree | 6384bb99b962f1841ed3699586cd97f00f7c3802 /framework/Web | |
parent | cfad0a7fa9016af018cf65dad410acff9507dc80 (diff) |
revert the previous change.
Diffstat (limited to 'framework/Web')
-rw-r--r-- | framework/Web/Javascripts/TJavaScript.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/Javascripts/TJavaScript.php b/framework/Web/Javascripts/TJavaScript.php index 17a8f39c..228dc88f 100644 --- a/framework/Web/Javascripts/TJavaScript.php +++ b/framework/Web/Javascripts/TJavaScript.php @@ -158,7 +158,7 @@ class TJavaScript {
foreach($value as $k=>$v)
if($v!=='')
- $results[]=(is_string($k)?"'{$k}':":'').self::encode($v,$toMap);
+ $results[]="'{$k}':".self::encode($v,$toMap);
return '{'.implode(',',$results).'}';
}
else
|