fix group by clause to be be compliant with mysql 5.7

This commit is contained in:
FliegenKLATSCH
2016-04-30 17:24:11 +02:00
committed by FliegenKLATSCH
parent 9799e05ce4
commit 97d035eee9
2 changed files with 2 additions and 3 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']));