[Fusionforge-commits] r10731 - trunk/src/common/include

Roland Mas lolando at libremir.placard.fr.eu.org
Mon Sep 27 16:13:49 CEST 2010


Author: lolando
Date: 2010-09-27 16:13:49 +0200 (Mon, 27 Sep 2010)
New Revision: 10731

Modified:
   trunk/src/common/include/RBAC.php
Log:
Fix bad use of API

Modified: trunk/src/common/include/RBAC.php
===================================================================
--- trunk/src/common/include/RBAC.php	2010-09-27 12:32:04 UTC (rev 10730)
+++ trunk/src/common/include/RBAC.php	2010-09-27 14:13:49 UTC (rev 10731)
@@ -928,7 +928,7 @@
 				}
 				if ($sect == 'scm') {
 					foreach ($this->getUsers() as $u) {
-						if (!$SYS->sysGroupCheckUser($refid,$u)) {
+						if (!$SYS->sysGroupCheckUser($refid,$u->getID())) {
 							$this->setError($SYS->getErrorMessage());
 							db_rollback();
 							return false;




More information about the Fusionforge-commits mailing list