Skip to content

Commit

Permalink
Reverted change done for quoting identifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Nov 3, 2013
1 parent a37143a commit dc7c791
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cake/Database/Query.php
Expand Up @@ -515,7 +515,7 @@ protected function _buildFromPart($parts, $generator) {
$parts = $this->_stringifyExpressions($parts, $generator);
foreach ($parts as $k => $p) {
if (!is_numeric($k)) {
$p = $p . ' AS ' . $k;
$p = $p . ' AS ' . $driver->quoteIdentifier($k);
}
$normalized[] = $p;
}
Expand Down

0 comments on commit dc7c791

Please sign in to comment.