_sortTwoEntry in class.LSsearch.php become case insensitive

This commit is contained in:
Pierre Arnaud 2014-08-14 11:53:19 +02:00
parent ebf26c4591
commit e8c0205810

View file

@ -1110,13 +1110,8 @@ class LSsearch {
if ($va == $vb) return 0;
$val = array($va,$vb);
sort($val);
if ($val[0]==$va)
return 1*$dir;
return -1*$dir;
$val = strcoll(strtolower($va), strtolower($vb));
return $val*$dir;
}
/**