SimpleQuery: Don't fail to order results based on sequenced column arrays

refs #3414
This commit is contained in:
Johannes Meyer 2019-04-16 12:00:55 +02:00
parent a8832517bf
commit e22d7daab6
1 changed files with 1 additions and 1 deletions

View File

@ -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];
}