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

Roland Mas lolando at libremir.placard.fr.eu.org
Fri May 21 16:57:57 CEST 2010


Author: lolando
Date: 2010-05-21 16:57:56 +0200 (Fri, 21 May 2010)
New Revision: 9889

Modified:
   trunk/gforge/common/include/Group.class.php
Log:
Unbreak Group::getRoles() in non-PFO RBAC

Modified: trunk/gforge/common/include/Group.class.php
===================================================================
--- trunk/gforge/common/include/Group.class.php	2010-05-21 14:39:06 UTC (rev 9888)
+++ trunk/gforge/common/include/Group.class.php	2010-05-21 14:57:56 UTC (rev 9889)
@@ -2433,6 +2433,9 @@
 		} else {
 			$res = db_query_params ('SELECT role_id FROM role WHERE group_id=$1',
 							    array ($this->getID()));
+			while ($arr =& db_fetch_array($res)) {
+				$role_ids[] = $arr['role_id'] ;
+			}
 		}
 		
 		return array_unique ($role_ids) ;




More information about the Fusionforge-commits mailing list