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…
Reference in New Issue