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
This commit is contained in:
2017-07-25 11:21:21 +00:00
parent 50062a4d1c
commit 20befc4fcf

View File

@@ -1577,9 +1577,6 @@ class dblayeroo
// expression, if not already done // expression, if not already done
if ($this->groupByExpression === null) if ($this->groupByExpression === null)
{ {
if ($this->displayColumn === null)
$this->groupByExpression = array_keys ($this->fields);
else
$this->groupByExpression = $this->displayColumn; $this->groupByExpression = $this->displayColumn;
} }
if ($func === "GROUP_CONCAT" && ($pos = strpos ($name, ",'"))) if ($func === "GROUP_CONCAT" && ($pos = strpos ($name, ",'")))