Skip to content

Commit

Permalink
Merge branch '3.1/develop' into 3.2/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
cbandy committed Jul 12, 2011
2 parents 70dbbc0 + 10474ec commit ffc447e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/kohana/database/query/builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ protected function _compile_conditions(Database $db, array $conditions)
{
if (is_array($column))
{
// Use the column alias
$column = $db->quote_identifier(end($column));
// Use the column name
$column = $db->quote_identifier(reset($column));
}
else
{
Expand Down

0 comments on commit ffc447e

Please sign in to comment.