From 1c81fb45e2b074332e18e61a97fe8c250d51f4e4 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 17 Oct 2005 10:40:57 +0000 Subject: [PATCH] Undefined index fixed git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1583 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_workstationStartup.inc | 4 ++++ plugins/admin/systems/workstationStartup.tpl | 5 ++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/plugins/admin/systems/class_workstationStartup.inc b/plugins/admin/systems/class_workstationStartup.inc index b994a16c5..ea0ec3a0c 100644 --- a/plugins/admin/systems/class_workstationStartup.inc +++ b/plugins/admin/systems/class_workstationStartup.inc @@ -86,6 +86,7 @@ class workstartup extends plugin $this->gotoShareSelections= $config->getShareList(true); $this->gotoAvailableShares= $config->getShareList(false); + $tmp = array(); $ldap = $this->config->get_ldap_link(); $ldap->search("(objectClass=FAIprofile)",array("*")); while($attr = $ldap->fetch()){ @@ -95,6 +96,9 @@ class workstartup extends plugin $tmp[$cn] = $base; } + + $tmp2 = array(); + foreach($tmp as $cn => $base){ $ldap->cd($base); diff --git a/plugins/admin/systems/workstationStartup.tpl b/plugins/admin/systems/workstationStartup.tpl index 2fcb2918c..c7ca9d155 100644 --- a/plugins/admin/systems/workstationStartup.tpl +++ b/plugins/admin/systems/workstationStartup.tpl @@ -1,7 +1,7 @@ -

{t}Boot parameters{/t}

+

{t}Boot parameters{/t}

@@ -31,8 +31,7 @@   -
- {t}Assigned FAI classes{/t}
+

 {t}Assigned FAI classes{/t}