summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TRadioButton.php
diff options
context:
space:
mode:
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 85a28941..d7901ec8 100644
--- a/framework/Web/UI/WebControls/TRadioButton.php
+++ b/framework/Web/UI/WebControls/TRadioButton.php
@@ -128,7 +128,7 @@ class TRadioButton extends TCheckBox
*/
private function getValueAttribute()
{
- if(($value=$this->getAttribute('value'))==='')
+ if(($value=$this->getAttribute('value'))===null)
{
$value=$this->getID();
return empty($value)?$this->getUniqueID():$value;