diff options
author | xue <> | 2006-01-01 21:28:57 +0000 |
---|---|---|
committer | xue <> | 2006-01-01 21:28:57 +0000 |
commit | f618592c07c32c4955367a4c5bf9c4e18727cefe (patch) | |
tree | 05fea8cc46f84307d41e30f61fd008b88435972c /framework/Web/UI/WebControls/TRadioButton.php | |
parent | c4ffe5fe2b3556f0fcbf6f7a28ef09ce24d06e74 (diff) |
Enhanced support to attribute access.
Diffstat (limited to 'framework/Web/UI/WebControls/TRadioButton.php')
-rw-r--r-- | framework/Web/UI/WebControls/TRadioButton.php | 2 |
1 files changed, 1 insertions, 1 deletions
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;
|