mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
unbound cloned connection fix
Signed-off-by: Roger Szabo <roger.szabo@web.de>
This commit is contained in:
parent
7da1e968f9
commit
8637b90e15
1 changed files with 3 additions and 0 deletions
|
|
@ -126,6 +126,9 @@ class Connection extends LDAPUtility {
|
|||
public function __clone() {
|
||||
$this->configuration = new Configuration($this->configPrefix,
|
||||
!is_null($this->configID));
|
||||
if(count($this->bindResult) !== 0 && $this->bindResult['result'] === true) {
|
||||
$this->bindResult = [];
|
||||
}
|
||||
$this->ldapConnectionRes = null;
|
||||
$this->dontDestruct = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue