Permalink
Browse files

Fix bad merge 4acfcdb. Refs #3485

  • Loading branch information...
1 parent 4acfcdb commit cc21f54423fbf0920f1c4759a70d4867d8d049eb @cbandy cbandy committed Jun 9, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 classes/kohana/database/query/builder.php
View
2 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 cc21f54

Please sign in to comment.