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();
|
||||
} else {
|
||||
$url = $this->getSuccessUrl()->without(
|
||||
array('field_id', 'argument_id')
|
||||
array('field_id', 'argument_id', 'range', 'range_type')
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue