mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-01-16 09:42:53 -05:00
BpConfigForm: clear applied changes, just...
...to be on the safe side
This commit is contained in:
parent
0fe35e3212
commit
792cf35a38
1 changed files with 2 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue