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:
Thomas Gelf 2016-08-04 18:29:18 +00:00
parent 5bdd219533
commit 14b5e74bb2
1 changed files with 1 additions and 1 deletions

View File

@ -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')
);
}