BpConfigForm: clear applied changes, just...

...to be on the safe side
This commit is contained in:
Thomas Gelf 2015-03-16 13:36:37 +01:00
parent 0fe35e3212
commit 792cf35a38

View file

@ -125,6 +125,7 @@ class BpConfigForm extends Form
$config->useHardStates();
}
$this->storage->storeProcess($config);
$config->clearAppliedChanges();
$this->setRedirectUrl(
Url::fromPath(
$this->getRedirectUrl(),
@ -134,6 +135,7 @@ class BpConfigForm extends Form
Notification::success(sprintf('Process %s has been created', $name));
} else {
// Existing config
$config = $this->config;
if ($title) {