Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch '3.1/develop' into 3.2/develop

  • Loading branch information...
commit ffc447ecd57a65c6c8104da4bccd05bb772f5fed 2 parents 70dbbc0 + 10474ec
@cbandy cbandy authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 classes/kohana/database/query/builder.php
View
4 classes/kohana/database/query/builder.php
@@ -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
{
Please sign in to comment.
Something went wrong with that request. Please try again.