Index: trunk/listAdmin/inc/class.functions.inc.php
===================================================================
--- trunk/listAdmin/inc/class.functions.inc.php	(revision 7655)
+++ trunk/listAdmin/inc/class.functions.inc.php	(revision 7681)
@@ -44,131 +44,131 @@
 			{
 				case list_users:
-					if ($array_acl[add_users] || $array_acl[edit_users] || $array_acl[delete_users] || $array_acl[change_users_password] || $array_acl[change_users_quote] || $array_acl[edit_sambausers_attributes] || $array_acl[view_users])
+					if ($array_acl['add_users'] || $array_acl['edit_users'] || $array_acl['delete_users'] || $array_acl['change_users_password'] || $array_acl['change_users_quote'] || $array_acl['edit_sambausers_attributes'] || $array_acl['view_users'])
 						return true;
 					break;
 				case add_users:
-					if ($array_acl[add_users])
+					if ($array_acl['add_users'])
 						return true;
 					break;
 				case edit_users:
-					if ($array_acl[edit_users])
+					if ($array_acl['edit_users'])
 						return true;
 					break;
 				case delete_users:
-					if ($array_acl[delete_users])
+					if ($array_acl['delete_users'])
 						return true;
 					break;
 				case rename_users:
-					if ($array_acl[rename_users])
+					if ($array_acl['rename_users'])
 						return true;
 					break;
 				case view_users:
-					if ($array_acl[view_users])
+					if ($array_acl['view_users'])
 						return true;
 					break;
 				case change_users_password:
-					if ($array_acl[change_users_password])
+					if ($array_acl['change_users_password'])
 						return true;
 					break;
 				case change_users_quote:
-					if ($array_acl[change_users_quote])
+					if ($array_acl['change_users_quote'])
 						return true;
 					break;
 				case set_user_default_password:
-					if ($array_acl[set_user_default_password])
+					if ($array_acl['set_user_default_password'])
 						return true;
 					break;
 				case edit_sambausers_attributes:
-					if ($array_acl[edit_sambausers_attributes])
+					if ($array_acl['edit_sambausers_attributes'])
 						return true;
 					break;
 				case edit_sambadomains:
-					if ($array_acl[edit_sambadomains])
+					if ($array_acl['edit_sambadomains'])
 						return true;
 					break;
 				
 				case list_groups:
-					if ($array_acl[add_groups] || $array_acl[edit_groups] || $array_acl[delete_groups])
+					if ($array_acl['add_groups'] || $array_acl['edit_groups'] || $array_acl['delete_groups'])
 						return true;
 					break;
 				case add_groups:
-					if ($array_acl[add_groups])
+					if ($array_acl['add_groups'])
 						return true;
 					break;
 				case edit_groups:
-					if ($array_acl[edit_groups])
+					if ($array_acl['edit_groups'])
 						return true;
 					break;
 				case delete_groups:
-					if ($array_acl[delete_groups])
+					if ($array_acl['delete_groups'])
 						return true;
 					break;
 				case edit_email_groups:
-					if ($array_acl[edit_email_groups])
+					if ($array_acl['edit_email_groups'])
 						return true;
 					break;
 				
 				case list_maillists:
-					if ($array_acl[add_maillists] || $array_acl[edit_maillists] || $array_acl[adm_maillists] || $array_acl[delete_maillists])
+					if ($array_acl['add_maillists'] || $array_acl['edit_maillists'] || $array_acl['adm_maillists'] || $array_acl['delete_maillists'])
 						return true;
 					break;
 				case add_maillists:
-					if ($array_acl[add_maillists])
+					if ($array_acl['add_maillists'])
 						return true;
 					break;
 				case edit_maillists:
-					if ($array_acl[edit_maillists])
+					if ($array_acl['edit_maillists'])
 						return true;
 					break;
 				case adm_maillists:
-					if ($array_acl[adm_maillists])
+					if ($array_acl['adm_maillists'])
 						return true;
 					break;
 				case delete_maillists:
-					if ($array_acl[delete_maillists])
+					if ($array_acl['delete_maillists'])
 						return true;
 					break;
 
 				case list_sectors:
-					if ($array_acl[create_sectors] || $array_acl[edit_sectors] || $array_acl[delete_sectors])
+					if ($array_acl['create_sectors'] || $array_acl['edit_sectors'] || $array_acl['delete_sectors'])
 						return true;
 					break;
 				case create_sectors:
-					if ($array_acl[create_sectors])
+					if ($array_acl['create_sectors'])
 						return true;
 					break;
 				case edit_sectors:
-					if ($array_acl[edit_sectors])
+					if ($array_acl['edit_sectors'])
 						return true;
 					break;
 				case delete_sectors:
-					if ($array_acl[delete_sectors])
+					if ($array_acl['delete_sectors'])
 						return true;
 					break;
 
 				case view_global_sessions:
-					if ($array_acl[view_global_sessions])
+					if ($array_acl['view_global_sessions'])
 						return true;
 					break;
 
 				case list_computers:
-					if ($array_acl[create_computers] || $array_acl[edit_computers] || $array_acl[delete_computers])
+					if ($array_acl['create_computers'] || $array_acl['edit_computers'] || $array_acl['delete_computers'])
 						return true;
 					break;
 				case create_computers:
-					if ($array_acl[create_computers])
+					if ($array_acl['create_computers'])
 						return true;
 					break;
 				case edit_computers:
-					if ($array_acl[edit_computers])
+					if ($array_acl['edit_computers'])
 						return true;
 					break;
 				case delete_computers:
-					if ($array_acl[delete_computers])
+					if ($array_acl['delete_computers'])
 						return true;
 					break;
 
 				case view_logs:
-					if ($array_acl[view_logs])
+					if ($array_acl['view_logs'])
 						return true;
 					break;
@@ -307,5 +307,5 @@
 						foreach ($tmp as $ldap)
 							{
-							if ($ldap[account_id] == $GLOBALS['phpgw']->db->f(0))
+							if ($ldap['account_id'] == $GLOBALS['phpgw']->db->f(0))
 								{
 								$find=true;
