mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2025-03-28 22:51:35 +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;
|
if ($va == $vb) return 0;
|
||||||
|
|
||||||
$val = strcoll(strtolower($va), strtolower($vb));
|
$val = strnatcmp(strtolower($va), strtolower($vb));
|
||||||
return $val*$dir;
|
return $val*$dir;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue