From f618592c07c32c4955367a4c5bf9c4e18727cefe Mon Sep 17 00:00:00 2001 From: xue <> Date: Sun, 1 Jan 2006 21:28:57 +0000 Subject: Enhanced support to attribute access. --- framework/Web/UI/WebControls/TRadioButton.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Web/UI/WebControls/TRadioButton.php') diff --git a/framework/Web/UI/WebControls/TRadioButton.php b/framework/Web/UI/WebControls/TRadioButton.php index 85a28941..d7901ec8 100644 --- a/framework/Web/UI/WebControls/TRadioButton.php +++ b/framework/Web/UI/WebControls/TRadioButton.php @@ -128,7 +128,7 @@ class TRadioButton extends TCheckBox */ private function getValueAttribute() { - if(($value=$this->getAttribute('value'))==='') + if(($value=$this->getAttribute('value'))===null) { $value=$this->getID(); return empty($value)?$this->getUniqueID():$value; -- cgit v1.2.3