authzgroups : the "right" alias is now between double-quotes to be compatible with MySQL

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2454 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2016-02-15 15:08:48 +00:00
parent 0b950a315f
commit 56975f22d4

View File

@@ -43,7 +43,7 @@ class authzgroups
}
else
{
$req = "SELECT o.object,MAX(r.right) AS right
$req = "SELECT o.object,MAX(r.right) AS \"right\"
FROM ".$this->tableprefix."authzright AS r,
".$this->tableprefix."authzobject AS o,
".$this->tableprefix."authzgroup AS g,
@@ -56,6 +56,7 @@ class authzgroups
}
if ($this->debug) echo "$req\n";
echo "$req\n";
try
{
$st = $this->dbObject->prepare ($req);