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