diff --git a/authzgroups.php b/authzgroups.php index ba94be5..8c64d13 100644 --- a/authzgroups.php +++ b/authzgroups.php @@ -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);