SimpleQuery: Don't fail to order results based on sequenced column arrays
refs #3414
This commit is contained in:
parent
a8832517bf
commit
e22d7daab6
|
@ -365,7 +365,7 @@ class SimpleQuery implements QueryInterface, Queryable, Iterator
|
|||
}
|
||||
|
||||
$column = $this->order[$orderIndex][0];
|
||||
if (array_key_exists($column, $this->flippedColumns)) {
|
||||
if (array_key_exists($column, $this->flippedColumns) && is_string($this->flippedColumns[$column])) {
|
||||
$column = $this->flippedColumns[$column];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue