diff options
Diffstat (limited to 'frontends/php/include/classes/html/CRadioButtonList.php')
-rw-r--r-- | frontends/php/include/classes/html/CRadioButtonList.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/frontends/php/include/classes/html/CRadioButtonList.php b/frontends/php/include/classes/html/CRadioButtonList.php index c8265de3078..e66e87610f3 100644 --- a/frontends/php/include/classes/html/CRadioButtonList.php +++ b/frontends/php/include/classes/html/CRadioButtonList.php @@ -93,7 +93,9 @@ class CRadioButtonList extends CList { } if ($this->readonly) { - parent::addItem(new CVar($this->name, $this->value, zbx_formatDomId($this->name))); + parent::addItem( + (new CVar($this->name, $this->value, zbx_formatDomId($this->name)))->setEnabled($this->enabled) + ); } foreach ($this->values as $key => $value) { |