mirror of
https://github.com/Icinga/icingaweb2.git
synced 2026-06-11 09:31:31 -04:00
parent
e22d7daab6
commit
032ca7ae50
1 changed files with 1 additions and 3 deletions
|
|
@ -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…
Reference in a new issue