mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
CustomVariables: set modified from outside
This commit is contained in:
parent
190b3efb98
commit
99608310c5
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user