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

Franck VILLAUME nerville at libremir.placard.fr.eu.org
Sat Sep 25 10:42:08 CEST 2010


Author: nerville
Date: 2010-09-25 10:42:08 +0200 (Sat, 25 Sep 2010)
New Revision: 10681

Modified:
   trunk/src/common/include/User.class.php
Log:
fix group call

Modified: trunk/src/common/include/User.class.php
===================================================================
--- trunk/src/common/include/User.class.php	2010-09-25 08:24:06 UTC (rev 10680)
+++ trunk/src/common/include/User.class.php	2010-09-25 08:42:08 UTC (rev 10681)
@@ -1546,7 +1546,7 @@
 
 	/* Codendi Glue */
 	function isMember($g,$type=0){
-		if (is_int ($g)) {
+		if (is_int ($g) || is_string($g)) {
 			$group = group_get_object ($g) ;
 			$group_id = $g ;
 		} else {




More information about the Fusionforge-commits mailing list