IcingaCommandArgumentForm: fix exception

This commit is contained in:
Thomas Gelf 2016-03-22 20:04:02 +01:00
parent ca6a9677bc
commit 1fb6027109

View File

@ -106,7 +106,7 @@ class IcingaCommandArgumentForm extends DirectorObjectForm
public function onSuccess()
{
$object = $this->object();
$cmd = $this->commandObject();
$cmd = $this->commandObject;
if ($object->hasBeenModified()) {
$cmd->arguments()->set(
$object->argument_name,