diff --git a/library/Director/CustomVariable/CustomVariables.php b/library/Director/CustomVariable/CustomVariables.php index 1c809aa7..3424f51a 100644 --- a/library/Director/CustomVariable/CustomVariables.php +++ b/library/Director/CustomVariable/CustomVariables.php @@ -79,7 +79,7 @@ class CustomVariables implements Iterator, Countable, IcingaConfigRenderer return $this; } else { if (get_class($this->vars[$key]) === get_class($value)) { - $this->vars[$key]->setValue($value->getValue()); + $this->vars[$key]->setValue($value->getValue())->setModified(); } else { $this->vars[$key] = $value->setLoadedFromDb()->setModified(); }