From fcc4b6ed2ed082ed83611b7d65f4881a62a580e6 Mon Sep 17 00:00:00 2001 From: xue <> Date: Wed, 12 Jul 2006 17:05:43 +0000 Subject: Fixed TCheckBox.Value bug. --- framework/Web/UI/WebControls/TCheckBox.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework') 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),''); } /** -- cgit v1.2.3