summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxue <>2007-07-19 12:26:26 +0000
committerxue <>2007-07-19 12:26:26 +0000
commit8f1347c3d3fc85fb894077042b0c359928dd9233 (patch)
tree6bd3b02d745dac8029e7ea990e60bbbe2ef73512
parentc20d7eed7c840fbc3224a468356ba47e8d305f03 (diff)
Fixed #592.
-rw-r--r--HISTORY1
-rw-r--r--framework/Web/UI/WebControls/TRadioButton.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index 31680e59..ad810fda 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1,5 +1,6 @@
Version 3.1.1 To be released
============================
+BUG: Ticket#592 - TRadioButton with UniqueGroupName always return false to getChecked (Christophe)
BUG: Ticket#656 - TDatePicker does not return correct value when in callback mode (Christophe)
BUG: Ticket#662 - Ensure TForm to properly encode the ampersand in action URL (Qiang)
BUG: Ticket#666 - TActiveRecord::deleteAll() method always requires a criteria or null parameter (Qiang)
diff --git a/framework/Web/UI/WebControls/TRadioButton.php b/framework/Web/UI/WebControls/TRadioButton.php
index 727b3b3a..fff7b475 100644
--- a/framework/Web/UI/WebControls/TRadioButton.php
+++ b/framework/Web/UI/WebControls/TRadioButton.php
@@ -162,7 +162,7 @@ class TRadioButton extends TCheckBox
{
parent::addToPostDataLoader();
$group = $this->getGroupName();
- if(!empty($group))
+ if(!empty($group) || $this->getViewState('UniqueGroupName','') !== '')
$this->getPage()->registerPostDataLoader($this->getUniqueGroupName());
}
/**