BpConfigForm: directly use url object

This commit is contained in:
Thomas Gelf 2015-11-17 12:49:11 +01:00
parent f9b9d9645a
commit 349b996233

View file

@ -127,8 +127,7 @@ class BpConfigForm extends Form
$this->storage->storeProcess($config);
$config->clearAppliedChanges();
$this->setRedirectUrl(
Url::fromPath(
$this->getRedirectUrl(),
$this->getRedirectUrl()->setParams(
array('config' => $name, 'unlocked' => true)
)
);