summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TRadioButton.php
diff options
context:
space:
mode:
authorDavid <ottodavid@gmx.net>2015-08-10 19:50:41 +0200
committerDavid <ottodavid@gmx.net>2015-08-11 08:34:39 +0200
commit606874e9a883ae547df198498fce6fca7b735466 (patch)
tree2f9e772926ee22e715411e79acd8e0adfe1de2cd /framework/Web/UI/WebControls/TRadioButton.php
parentac81ab6d556ce52e98acf636bbcd8ad4d60ecf4e (diff)
Fix TProperyValue::ensureEnum and some unit tests class names
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 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==='')