mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 16:54:06 +02:00
IcingaCommandArgumentForm: fix exception
This commit is contained in:
parent
ca6a9677bc
commit
1fb6027109
@ -106,7 +106,7 @@ class IcingaCommandArgumentForm extends DirectorObjectForm
|
|||||||
public function onSuccess()
|
public function onSuccess()
|
||||||
{
|
{
|
||||||
$object = $this->object();
|
$object = $this->object();
|
||||||
$cmd = $this->commandObject();
|
$cmd = $this->commandObject;
|
||||||
if ($object->hasBeenModified()) {
|
if ($object->hasBeenModified()) {
|
||||||
$cmd->arguments()->set(
|
$cmd->arguments()->set(
|
||||||
$object->argument_name,
|
$object->argument_name,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user