mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
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:
parent
29c784be15
commit
6418baaa86
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue