[Fusionforge-commits] r9920 - trunk/gforge/common/include

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Tue May 25 10:42:38 CEST 2010


Author: aljeux
Date: 2010-05-25 10:42:38 +0200 (Tue, 25 May 2010)
New Revision: 9920

Modified:
   trunk/gforge/common/include/RBAC.php
Log:
RBAC syntax fixes

Modified: trunk/gforge/common/include/RBAC.php
===================================================================
--- trunk/gforge/common/include/RBAC.php	2010-05-24 19:28:41 UTC (rev 9919)
+++ trunk/gforge/common/include/RBAC.php	2010-05-25 08:42:38 UTC (rev 9920)
@@ -320,13 +320,13 @@
 					$this->perms_array['tracker'][$arr['group_artifact_id']] = 1 ;
 				}
 
-				$res = db_query_params ('SELECT p.group_project_id FROM project_group_list t, groups g WHERE p.is_public=1 AND g.is_public=1 AND p.group_id = g.group_id',
+				$res = db_query_params ('SELECT p.group_project_id FROM project_group_list p, groups g WHERE p.is_public=1 AND g.is_public=1 AND p.group_id = g.group_id',
 							array ()) ;
 				while ($arr =& db_fetch_array($res)) {
 					$this->perms_array['pm'][$arr['group_project_id']] = 1 ;
 				}
 
-				$res = db_query_params ('SELECT f.group_forum_id, f.allow_anonymous, f.moderation_level FROM forum_group_list f, groups g WHERE .is_public=1 AND g.is_public=1 AND f.group_id = g.group_id',
+				$res = db_query_params ('SELECT f.group_forum_id, f.allow_anonymous, f.moderation_level FROM forum_group_list f, groups g WHERE f.is_public=1 AND g.is_public=1 AND f.group_id = g.group_id',
 							array ()) ;
 				while ($arr =& db_fetch_array($res)) {
 					if ($arr['allow_anonymous'] == 1) {




More information about the Fusionforge-commits mailing list