mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 16:24:05 +02:00
IcingaTemplateChoice: fix hasBeenModified...
...this used to be true, once properties have been set
This commit is contained in:
parent
f1add44beb
commit
637a304f47
@ -155,7 +155,7 @@ class IcingaTemplateChoice extends IcingaObject implements ExportInterface
|
||||
|
||||
public function hasBeenModified()
|
||||
{
|
||||
if ($this->newChoices !== null && $this->choices !== $this->newChoices) {
|
||||
if ($this->newChoices !== null && ($this->choices ?? $this->fetchChoices()) !== $this->newChoices) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user