diff options
author | wei <> | 2007-03-31 06:24:07 +0000 |
---|---|---|
committer | wei <> | 2007-03-31 06:24:07 +0000 |
commit | e54507780bbb25537735139fdf65637fbaa39542 (patch) | |
tree | 516c7b2a3e5018770022916365e9bcbd01240c7e /framework/Web/UI | |
parent | 31e2a6844f46941be1c05ff14fff25032d1fda93 (diff) |
Fixed http://www.pradosoft.com/forum/index.php/topic,7089.0/topicseen.html
Diffstat (limited to 'framework/Web/UI')
-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 bab03f88..727b3b3a 100644 --- a/framework/Web/UI/WebControls/TRadioButton.php +++ b/framework/Web/UI/WebControls/TRadioButton.php @@ -272,7 +272,7 @@ class TRadioButton extends TCheckBox $writer->addAttribute('type','radio');
$writer->addAttribute('name',$this->getUniqueGroupName());
$writer->addAttribute('value',$this->getValueAttribute());
- if($onclick!=='')
+ if(!empty($onclick))
$writer->addAttribute('onclick',$onclick);
if($this->getChecked())
$writer->addAttribute('checked','checked');
|