sort prefixes for deterministic LDAP query behaviour

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2020-02-07 18:10:31 +01:00
parent fc18116715
commit a0e57ea6d3
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
1 changed files with 4 additions and 3 deletions

View File

@ -83,6 +83,7 @@ class Helper {
$len = strlen($key) - strlen($referenceConfigkey);
$prefixes[] = substr($key, 0, $len);
}
asort($prefixes);
return $prefixes;
}