summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorwei <>2007-03-31 06:24:07 +0000
committerwei <>2007-03-31 06:24:07 +0000
commite54507780bbb25537735139fdf65637fbaa39542 (patch)
tree516c7b2a3e5018770022916365e9bcbd01240c7e /framework
parent31e2a6844f46941be1c05ff14fff25032d1fda93 (diff)
Fixed http://www.pradosoft.com/forum/index.php/topic,7089.0/topicseen.html
Diffstat (limited to 'framework')
-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 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');