Merge pull request #45119 from nextcloud/backport/45108/stable28

[stable28] fix(user_ldap): Fix a var name
This commit is contained in:
Côme Chilliet 2024-04-30 15:45:11 +02:00 committed by GitHub
commit 8edf5eee74
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -438,7 +438,7 @@ class Connection extends LDAPUtility {
$backupPort = (int)$this->configuration->ldapBackupPort;
if ($backupPort <= 0) {
$this->configuration->backupPort = $this->configuration->ldapPort;
$this->configuration->ldapBackupPort = $this->configuration->ldapPort;
}
//make sure empty search attributes are saved as simple, empty array