summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TRadioButton.php
diff options
context:
space:
mode:
authorxue <>2006-01-02 04:54:31 +0000
committerxue <>2006-01-02 04:54:31 +0000
commit423f4e6fb0afba2685589b700d30055cb6dcd099 (patch)
treec3b53ea0cc226230b5e39c47cbbc822fc2981f20 /framework/Web/UI/WebControls/TRadioButton.php
parentcb54d4b2bc36e098e38a25a29a844e726fa501ad (diff)
Added TRadioButtonList, TTable related controls.
Diffstat (limited to 'framework/Web/UI/WebControls/TRadioButton.php')
-rw-r--r--framework/Web/UI/WebControls/TRadioButton.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TRadioButton.php b/framework/Web/UI/WebControls/TRadioButton.php
index d7901ec8..83f52f69 100644
--- a/framework/Web/UI/WebControls/TRadioButton.php
+++ b/framework/Web/UI/WebControls/TRadioButton.php
@@ -131,7 +131,7 @@ class TRadioButton extends TCheckBox
if(($value=$this->getAttribute('value'))===null)
{
$value=$this->getID();
- return empty($value)?$this->getUniqueID():$value;
+ return $value===''?$this->getUniqueID():$value;
}
else
return $value;