Permalink
Browse files

Merge branch '3.1/develop' into 3.2/develop. Refs #3485

  • Loading branch information...
cbandy committed Jun 9, 2011
2 parents 395e04a + cc21f54 commit 13e79daa5bb1cf14a44a437f11ae765f87f4eef3
Showing with 1 addition and 1 deletion.
  1. +1 −1 classes/kohana/database/query/builder.php
@@ -183,7 +183,7 @@ protected function _compile_order_by(Database $db, array $columns)
$direction = ' '.strtoupper($direction);
}
- $sort[] = $db->quote_identifier($column).$direction;
+ $sort[] = $db->quote_column($column).$direction;
}
return 'ORDER BY '.implode(', ', $sort);

0 comments on commit 13e79da

Please sign in to comment.