Fix regression: undesired writes to the DB
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
4eab39f133
commit
52b1b97c58
|
@ -146,7 +146,7 @@ class Connection extends LDAPUtility {
|
|||
$this->configuration->$name = $value;
|
||||
$after = $this->configuration->$name;
|
||||
if($before !== $after) {
|
||||
if ($this->configID !== '') {
|
||||
if ($this->configID !== '' && $this->configID !== null) {
|
||||
$this->configuration->saveConfiguration();
|
||||
}
|
||||
$this->validateConfiguration();
|
||||
|
|
Loading…
Reference in New Issue