diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-11-09 09:26:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-09 09:26:51 +0100 |
commit | 2bfa1ce5c3a23468ef2830680062869c65094b74 (patch) | |
tree | e94383026953d8307d2f3266caf17801fcd8665c /apps/user_ldap/lib/Connection.php | |
parent | aa525d89e889216d17185a6934699a8f8ba7aa91 (diff) | |
parent | 7b0868ddac20c020b31310471c06b9a3a78ed5bd (diff) | |
download | nextcloud-server-2bfa1ce5c3a23468ef2830680062869c65094b74.tar.gz nextcloud-server-2bfa1ce5c3a23468ef2830680062869c65094b74.zip |
Merge pull request #5568 from nextcloud/ldap-agent-credentials-safe
Ldap agent credentials save
Diffstat (limited to 'apps/user_ldap/lib/Connection.php')
-rw-r--r-- | apps/user_ldap/lib/Connection.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Connection.php b/apps/user_ldap/lib/Connection.php index 0f10874bc2f..79d66189c27 100644 --- a/apps/user_ldap/lib/Connection.php +++ b/apps/user_ldap/lib/Connection.php @@ -150,7 +150,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(); |