diff options
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 35a64a2e..c82d73ad 100644 --- a/framework/Web/UI/WebControls/TRadioButton.php +++ b/framework/Web/UI/WebControls/TRadioButton.php @@ -164,7 +164,7 @@ class TRadioButton extends TCheckBox { if($groupName!=='') $groupName=substr($uniqueID,0,$pos+1).$groupName; - else if(is_a($this->getNamingContainer(), 'TRadioButtonList')) + else if($this->getNamingContainer() instanceof TRadioButtonList) $groupName=substr($uniqueID,0,$pos); } if($groupName==='') |