mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 16:54:06 +02:00
DirectorObjectForm: skip timeperiod range params...
...on redirect after removal. TimeperiodRange::getOnDeleteUrl would be a better place for this, but I do not like that solution either :p fixes #12316
This commit is contained in:
parent
5bdd219533
commit
14b5e74bb2
@ -868,7 +868,7 @@ abstract class DirectorObjectForm extends QuickForm
|
|||||||
$url = $object->getOnDeleteUrl();
|
$url = $object->getOnDeleteUrl();
|
||||||
} else {
|
} else {
|
||||||
$url = $this->getSuccessUrl()->without(
|
$url = $this->getSuccessUrl()->without(
|
||||||
array('field_id', 'argument_id')
|
array('field_id', 'argument_id', 'range', 'range_type')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user