summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxue <>2006-07-12 17:05:43 +0000
committerxue <>2006-07-12 17:05:43 +0000
commitfcc4b6ed2ed082ed83611b7d65f4881a62a580e6 (patch)
tree13ed83a0bfe59a940db2fcb6956a5319703d03df
parentc0aeb59489d638d43eb19ff044ea12c54c998b6a (diff)
Fixed TCheckBox.Value bug.
-rw-r--r--HISTORY1
-rw-r--r--framework/Web/UI/WebControls/TCheckBox.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index 8a039986..ed9fa6b0 100644
--- a/HISTORY
+++ b/HISTORY
@@ -3,6 +3,7 @@ Version 3.0.3 August 6, 2006
BUG: Ticket#264 - Typos in some exception throw statements (Knut)
BUG: Ticket#268 - THttpResponse.redirect() may fail for some browsers (Qiang)
BUG: TDataGrid may complain getting ItemType on a non-object if the grid is not data-bound (Qiang)
+BUG: TCheckBox.Value should be converted to string (Qiang)
ENH: Ticket#220 - TClientScripts method to import custom javascript files (Wei)
ENH: Ticket#225 - TRadioButton::getRadioButtonsInGroup() added (Wei)
ENH: Ticket#223 - Use TRequiredFieldValidator for TRadioButtons with GroupName property (Wei)
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),'');
}
/**