summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorxue <>2006-07-12 17:05:43 +0000
committerxue <>2006-07-12 17:05:43 +0000
commitfcc4b6ed2ed082ed83611b7d65f4881a62a580e6 (patch)
tree13ed83a0bfe59a940db2fcb6956a5319703d03df /framework
parentc0aeb59489d638d43eb19ff044ea12c54c998b6a (diff)
Fixed TCheckBox.Value bug.
Diffstat (limited to 'framework')
-rw-r--r--framework/Web/UI/WebControls/TCheckBox.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TCheckBox.php b/framework/Web/UI/WebControls/TCheckBox.php
index 1dc177cf..6ee67c16 100644
--- a/framework/Web/UI/WebControls/TCheckBox.php
+++ b/framework/Web/UI/WebControls/TCheckBox.php
@@ -143,7 +143,7 @@ class TCheckBox extends TWebControl implements IPostBackDataHandler, IValidatabl
*/
public function setValue($value)
{
- $this->setViewState('Value',$value,'');
+ $this->setViewState('Value',TPropertyValue::ensureString($value),'');
}
/**