Fixing issue where GROUP BY clause was positioned on the wrong place

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7078 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
mariano.iglesias 2008-05-31 21:33:37 +00:00
parent 29c784be15
commit 6418baaa86

View file

@ -1250,7 +1250,7 @@ class DboSource extends DataSource {
switch (strtolower($type)) {
case 'select':
return "SELECT {$fields} FROM {$table} {$alias} {$joins} {$conditions} {$order} {$limit}{$group}";
return "SELECT {$fields} FROM {$table} {$alias} {$joins} {$conditions} {$group} {$order} {$limit}";
break;
case 'update':
if (!empty($alias)) {