mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-27 07:44:05 +02:00
parent
b8b047a1e4
commit
8c42e0f7d6
@ -51,12 +51,12 @@ class IcingaCloneObjectForm extends QuickForm
|
||||
$object->getConnection()
|
||||
)->set('object_name', $newname);
|
||||
|
||||
$this->setSuccessUrl(
|
||||
'director/' . strtolower($object->getShortTableName()),
|
||||
$new->getUrlParams()
|
||||
);
|
||||
|
||||
if ($new->store()) {
|
||||
$this->setSuccessUrl(
|
||||
'director/' . strtolower($object->getShortTableName()),
|
||||
$new->getUrlParams()
|
||||
);
|
||||
|
||||
$this->redirectOnSuccess($msg);
|
||||
} else {
|
||||
$this->redirectOnFailure($msg);
|
||||
|
Loading…
x
Reference in New Issue
Block a user