[Fusionforge-commits] r11324 - trunk/src/www/include

Roland Mas lolando at libremir.placard.fr.eu.org
Tue Nov 2 14:45:06 CET 2010


Author: lolando
Date: 2010-11-02 14:45:05 +0100 (Tue, 02 Nov 2010)
New Revision: 11324

Modified:
   trunk/src/www/include/html.php
Log:
Fixed logic displaying project registration link

Modified: trunk/src/www/include/html.php
===================================================================
--- trunk/src/www/include/html.php	2010-11-02 13:09:14 UTC (rev 11323)
+++ trunk/src/www/include/html.php	2010-11-02 13:45:05 UTC (rev 11324)
@@ -805,8 +805,8 @@
 	$arr_t[] = _('Account Maintenance') ;
 	$arr_l[] = '/account/' ;
 
-	if (forge_get_config ('project_registration_restricted')
-			&& forge_check_global_perm ('approve_projects', '')) {
+	if (!forge_get_config ('project_registration_restricted')
+			|| forge_check_global_perm ('approve_projects', '')) {
 		$arr_t[] = _('Register Project') ;
 		$arr_l[] = '/register/' ;
 	}




More information about the Fusionforge-commits mailing list