[Fusionforge-commits] r9685 - trunk/gforge/www/project/admin

Alexandre Neymann neymanna at libremir.placard.fr.eu.org
Tue May 4 10:06:53 CEST 2010


Author: neymanna
Date: 2010-05-04 10:06:53 +0200 (Tue, 04 May 2010)
New Revision: 9685

Modified:
   trunk/gforge/www/project/admin/users.php
Log:
Fix bad condition test

Modified: trunk/gforge/www/project/admin/users.php
===================================================================
--- trunk/gforge/www/project/admin/users.php	2010-05-04 08:03:49 UTC (rev 9684)
+++ trunk/gforge/www/project/admin/users.php	2010-05-04 08:06:53 UTC (rev 9685)
@@ -89,7 +89,7 @@
 					//we should remove him from the request list
 					//since it has already been added
 					$gjr=new GroupJoinRequest($group,$user_id);
-					if (($gjr || is_object($gjr)) || (!$gjr->isError())) {
+					if (($gjr || is_object($gjr)) && (!$gjr->isError())) {
 						$gjr->delete(true);
 					}
 				}




More information about the Fusionforge-commits mailing list