From 20befc4fcf99b55cc8b79f9d6b929dcc1ca1c3d5 Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Tue, 25 Jul 2017 11:21:21 +0000 Subject: [PATCH] dblayeroo: Do not add all the fields if there is no defined ones git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3830 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- dblayeroo.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/dblayeroo.php b/dblayeroo.php index 2317662..4b670ec 100644 --- a/dblayeroo.php +++ b/dblayeroo.php @@ -1577,9 +1577,6 @@ class dblayeroo // expression, if not already done if ($this->groupByExpression === null) { - if ($this->displayColumn === null) - $this->groupByExpression = array_keys ($this->fields); - else $this->groupByExpression = $this->displayColumn; } if ($func === "GROUP_CONCAT" && ($pos = strpos ($name, ",'")))