IcingaCommandArgumentForm: fix redirect on store

fixes #11523
This commit is contained in:
Thomas Gelf 2016-06-16 22:42:56 +02:00
parent 5c0ea2c3b0
commit 057ea83aa5

View File

@ -122,8 +122,8 @@ class IcingaCommandArgumentForm extends DirectorObjectForm
$msg = $this->translate('No action taken, object has not been modified'); $msg = $this->translate('No action taken, object has not been modified');
} }
$this->setSuccessUrl( $this->setSuccessUrl(
'director/director/command', 'director/command/arguments',
array('name' => $cmd->argument_name) array('name' => $cmd->object_name)
); );
$this->redirectOnSuccess($msg); $this->redirectOnSuccess($msg);