[Fusionforge-commits] r15820 - branches/Branch_5_1/src/common/include

Thorsten Glaser mirabilos at fusionforge.org
Mon Jun 25 16:21:43 CEST 2012


Author: mirabilos
Date: 2012-06-25 16:21:42 +0200 (Mon, 25 Jun 2012)
New Revision: 15820

Modified:
   branches/Branch_5_1/src/common/include/RBAC.php
Log:
prevent things like r15819 from impacting normal operation


Modified: branches/Branch_5_1/src/common/include/RBAC.php
===================================================================
--- branches/Branch_5_1/src/common/include/RBAC.php	2012-06-25 14:19:07 UTC (rev 15819)
+++ branches/Branch_5_1/src/common/include/RBAC.php	2012-06-25 14:21:42 UTC (rev 15820)
@@ -785,7 +785,9 @@
 				//
 				//	Build an associative array of these key values + localized description
 				//
-				$role_vals[$section][$this->role_values[$section][$i]]=$rbac_permission_names["$section".$this->role_values[$section][$i]];
+				$role_vals[$section][$this->role_values[$section][$i]] =
+				    util_ifsetor($rbac_permission_names["$section".$this->role_values[$section][$i]],
+				    _('UNKNOWN (internal error, report bug to FusionForge)'));
 			}
 		}
 		return $role_vals[$section];




More information about the Fusionforge-commits mailing list