[icinga-checkins] icinga.org: icingaweb2-module-director/master: IcingaCommandArgumentForm: fix redirect on store

git at icinga.org git at icinga.org
Thu Jun 16 22:43:32 CEST 2016


Module: icingaweb2-module-director
Branch: master
Commit: 057ea83aa59bdd1ebce82d45278b389c5c024ffc
URL:    https://git.icinga.org/?p=icingaweb2-module-director.git;a=commit;h=057ea83aa59bdd1ebce82d45278b389c5c024ffc

Author: Thomas Gelf <thomas at gelf.net>
Date:   Thu Jun 16 22:42:56 2016 +0200

IcingaCommandArgumentForm: fix redirect on store

fixes #11523

---

 application/forms/IcingaCommandArgumentForm.php |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/application/forms/IcingaCommandArgumentForm.php b/application/forms/IcingaCommandArgumentForm.php
index 03ca4ed..62b7534 100644
--- a/application/forms/IcingaCommandArgumentForm.php
+++ b/application/forms/IcingaCommandArgumentForm.php
@@ -122,8 +122,8 @@ class IcingaCommandArgumentForm extends DirectorObjectForm
             $msg = $this->translate('No action taken, object has not been modified');
         }
         $this->setSuccessUrl(
-            'director/director/command',
-            array('name' => $cmd->argument_name)
+            'director/command/arguments',
+            array('name' => $cmd->object_name)
         );
 
         $this->redirectOnSuccess($msg);



More information about the icinga-checkins mailing list