IcingaCommandArgument: no need for format...
...when there is no value
This commit is contained in:
parent
c119c47864
commit
15a8886db7
|
@ -121,6 +121,12 @@ class IcingaCommandArgument extends IcingaObject
|
|||
|
||||
unset($plain->id);
|
||||
unset($plain->argument_name);
|
||||
if (! isset($plain->argument_value)) {
|
||||
unset($plain->argument_format);
|
||||
}
|
||||
if (! isset($plain->set_if)) {
|
||||
unset($plain->set_if_format);
|
||||
}
|
||||
|
||||
$this->transformPlainArgumentValue($plain);
|
||||
|
||||
|
|
Loading…
Reference in New Issue