mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-23 08:53:47 +01:00
LSsearch : Use strnatcmp instead of strcoll in sorting method
This commit is contained in:
parent
654e3f7381
commit
31b0b71312
1 changed files with 1 additions and 1 deletions
|
@ -1141,7 +1141,7 @@ class LSsearch {
|
|||
|
||||
if ($va == $vb) return 0;
|
||||
|
||||
$val = strcoll(strtolower($va), strtolower($vb));
|
||||
$val = strnatcmp(strtolower($va), strtolower($vb));
|
||||
return $val*$dir;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue