From 944fb7741a840c08bafd1700f0b9cc8e28cf6491 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Thu, 1 Oct 2015 23:08:57 +0200 Subject: [PATCH] BpConfigForm: fix redirect url, web2 api changed --- application/forms/BpConfigForm.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/application/forms/BpConfigForm.php b/application/forms/BpConfigForm.php index ab286cb..76e3b7f 100644 --- a/application/forms/BpConfigForm.php +++ b/application/forms/BpConfigForm.php @@ -152,12 +152,7 @@ class BpConfigForm extends Form $this->storage->storeProcess($config); $config->clearAppliedChanges(); - $this->setRedirectUrl( - Url::fromPath( - $this->getRedirectUrl(), - array('config' => $name) - ) - ); + $this->getRedirectUrl()->setParam('config', $name); Notification::success(sprintf('Process %s has been stored', $name)); } }