dblayeroo: Manage correctely the DISTINCT type of fields
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3942 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -2850,6 +2850,7 @@ class dblayeroo
|
||||
else
|
||||
{
|
||||
$name = $columns[$colNb];
|
||||
$name = str_replace ("DISTINCT ", "", $name);
|
||||
$pos = strpos ($columns[$colNb], " AS ");
|
||||
if ($pos)
|
||||
$name = substr ($columns[$colNb], 0, $pos);
|
||||
|
||||
Reference in New Issue
Block a user