Skip to content
Permalink
Browse files

do not drop undefined settings when saving the configuration

  • Loading branch information...
splitbrain committed May 25, 2018
1 parent f37fd93 commit 53f3816e9ddb3b4862aa8329359148cbea21620d
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/plugins/config/core/Configuration.php
@@ -122,10 +122,13 @@ public function updateSettings($input) {
/**
* Save the settings
*
* This save the current state as defined in this object, including the
* undefined settings
*
* @throws \Exception
*/
public function save() {
$this->writer->save($this->settings);
$this->writer->save(array_merge($this->settings, $this->undefined));
}
/**

0 comments on commit 53f3816

Please sign in to comment.
You can’t perform that action at this time.