From 8f1347c3d3fc85fb894077042b0c359928dd9233 Mon Sep 17 00:00:00 2001 From: xue <> Date: Thu, 19 Jul 2007 12:26:26 +0000 Subject: Fixed #592. --- HISTORY | 1 + framework/Web/UI/WebControls/TRadioButton.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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()); } /** -- cgit v1.2.3