Merge pull request #390 from FliegenKLATSCH/patch-1

fix group by clause to be more compliant with mysql 5.7
This commit is contained in:
Michael Kaufmann
2016-10-04 09:35:24 +02:00
committed by GitHub
6 changed files with 30 additions and 8 deletions

View File

@@ -730,7 +730,7 @@ if ($page == 'overview') {
AND `dip`.`id_ipandports`
IN (SELECT `id_ipandports` FROM `".TABLE_DOMAINTOIP."`
WHERE `id_domain` = :id)
GROUP BY `d`.`domain`
GROUP BY `d`.`id`, `d`.`domain`
ORDER BY `d`.`domain` ASC"
);
Database::pexecute($domains_stmt, array("id" => $result['id'], "customerid" => $userinfo['customerid']));