From 14b5e74bb2c82f34bf319406382f717f10247e0f Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Thu, 4 Aug 2016 18:29:18 +0000 Subject: [PATCH] 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 --- library/Director/Web/Form/DirectorObjectForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Director/Web/Form/DirectorObjectForm.php b/library/Director/Web/Form/DirectorObjectForm.php index ab3d9e5a..e7ded331 100644 --- a/library/Director/Web/Form/DirectorObjectForm.php +++ b/library/Director/Web/Form/DirectorObjectForm.php @@ -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') ); }