diff --git a/core/class/cmd.class.php b/core/class/cmd.class.php index f2e983a3a8..2a382fc185 100644 --- a/core/class/cmd.class.php +++ b/core/class/cmd.class.php @@ -1658,7 +1658,7 @@ public function toHtml($_version = 'dashboard', $_options = '') { $coupleArray = explode('|', $element); $cmdValue = $this->getCmdValue(); if (is_object($cmdValue) && $cmdValue->getType() == 'info') { - if ($cmdValue->execCmd() == $coupleArray[0]) { + if ($cmdValue->execCmd() == $coupleArray[1]) { $listOption .= ''; $foundSelect = true; } else {