Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/include/classes/html/CRadioButtonList.php')
-rw-r--r--frontends/php/include/classes/html/CRadioButtonList.php4
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) {