diff options
author | xue <> | 2007-10-30 00:30:40 +0000 |
---|---|---|
committer | xue <> | 2007-10-30 00:30:40 +0000 |
commit | f35cc125dd336d30eae1c21a323799f9d91fb960 (patch) | |
tree | 910f67087e194c295f137fdf4e247b30502986b5 | |
parent | 21a0a5ef7935a56c9d9d95562394bc61b7bcebf1 (diff) |
fixed a bug in TJavaScript
-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 3b207ec7..228dc88f 100644 --- a/framework/Web/Javascripts/TJavaScript.php +++ b/framework/Web/Javascripts/TJavaScript.php @@ -181,7 +181,7 @@ class TJavaScript return "$value";
}
else if(is_object($value))
- return self::encode(get_object_vars($this->data),$toMap);
+ return self::encode(get_object_vars($value),$toMap);
else if($value===null)
return 'null';
else
|