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:
@@ -43,7 +43,7 @@ class authzgroups
|
|||||||
}
|
}
|
||||||
else
|
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,
|
FROM ".$this->tableprefix."authzright AS r,
|
||||||
".$this->tableprefix."authzobject AS o,
|
".$this->tableprefix."authzobject AS o,
|
||||||
".$this->tableprefix."authzgroup AS g,
|
".$this->tableprefix."authzgroup AS g,
|
||||||
@@ -56,6 +56,7 @@ class authzgroups
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($this->debug) echo "$req\n";
|
if ($this->debug) echo "$req\n";
|
||||||
|
echo "$req\n";
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
$st = $this->dbObject->prepare ($req);
|
$st = $this->dbObject->prepare ($req);
|
||||||
|
|||||||
Reference in New Issue
Block a user