Browse Source
Fix regression: undesired writes to the DB
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
pull/5568/head
Arthur Schiwon
9 years ago
committed by
Morris Jobke
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
1 changed files with
1 additions and
1 deletions
-
apps/user_ldap/lib/Connection.php
|
|
|
@ -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(); |
|
|
|
|