Skip to content

Commit

Permalink
Quote column correctly in DoctrineDatabase
Browse files Browse the repository at this point in the history
  • Loading branch information
emodric committed Apr 2, 2019
1 parent fff8da8 commit 82147c0
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,11 @@ function (array $row) {
$tagIds
)
);
$query->orderBy('eztags_keyword.keyword', 'ASC');

$query->orderBy(
$this->handler->quoteColumn('keyword', 'eztags_keyword'),
$query::ASC
);

$statement = $query->prepare();
$statement->execute();
Expand Down

0 comments on commit 82147c0

Please sign in to comment.