Merge pull request #45118 from nextcloud/backport/45108/stable27

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

View file

@ -437,7 +437,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