[Fusionforge-commits] r9670 - branches/Branch_4_8/gforge/www/project/admin

Alexandre Neymann neymanna at libremir.placard.fr.eu.org
Fri Apr 30 16:11:10 CEST 2010


Author: neymanna
Date: 2010-04-30 16:11:10 +0200 (Fri, 30 Apr 2010)
New Revision: 9670

Modified:
   branches/Branch_4_8/gforge/www/project/admin/index.php
Log:
Fix bad condition test

Modified: branches/Branch_4_8/gforge/www/project/admin/index.php
===================================================================
--- branches/Branch_4_8/gforge/www/project/admin/index.php	2010-04-30 13:31:45 UTC (rev 9669)
+++ branches/Branch_4_8/gforge/www/project/admin/index.php	2010-04-30 14:11:10 UTC (rev 9670)
@@ -85,7 +85,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