mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-19 20:04:24 +02:00
parent
e22d7daab6
commit
032ca7ae50
@ -369,9 +369,7 @@ class SimpleQuery implements QueryInterface, Queryable, Iterator
|
||||
$column = $this->flippedColumns[$column];
|
||||
}
|
||||
|
||||
// TODO: throw Exception if column is missing
|
||||
//$res = strnatcmp(strtolower($a->$column), strtolower($b->$column));
|
||||
$result = @strcmp(strtolower($a->$column), strtolower($b->$column));
|
||||
$result = strcmp(strtolower($a->$column), strtolower($b->$column));
|
||||
if ($result === 0) {
|
||||
return $this->compare($a, $b, ++$orderIndex);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user