[Fusionforge-commits] r9509 - trunk/gforge/common/include

Roland Mas lolando at libremir.placard.fr.eu.org
Fri Apr 16 16:04:48 CEST 2010


Author: lolando
Date: 2010-04-16 16:04:48 +0200 (Fri, 16 Apr 2010)
New Revision: 9509

Modified:
   trunk/gforge/common/include/rbac_texts.php
Log:
Fixed PHP warning

Modified: trunk/gforge/common/include/rbac_texts.php
===================================================================
--- trunk/gforge/common/include/rbac_texts.php	2010-04-16 13:30:56 UTC (rev 9508)
+++ trunk/gforge/common/include/rbac_texts.php	2010-04-16 14:04:48 UTC (rev 9509)
@@ -30,6 +30,14 @@
 
 function setup_rbac_strings () {
 	global $rbac_permission_names, $rbac_edit_section_names ;
+	
+	if (!isset ($rbac_permission_names)) {
+		$rbac_permission_names = array () ;
+	}
+	if (!isset ($rbac_edit_section_names)) {
+		$rbac_edit_section_names = array () ;
+	}
+
 	$rbac_permission_names = array_replace_recursive ($rbac_permission_names, 
 							  array (
 		'frspackage0' => _('Private'),




More information about the Fusionforge-commits mailing list