From 9f14b81c8f69367966dc8b4ef4c1304cdabc83e2 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 17 Nov 2005 13:19:11 +0000 Subject: [PATCH] Fixed pt error if pl was added Fixed ldapsearch git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1960 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_workstationStartup.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/admin/systems/class_workstationStartup.inc b/plugins/admin/systems/class_workstationStartup.inc index fb0970de1..51a6940aa 100644 --- a/plugins/admin/systems/class_workstationStartup.inc +++ b/plugins/admin/systems/class_workstationStartup.inc @@ -109,7 +109,7 @@ class workstartup extends plugin /* Search all FAI objects */ $ldap->search("(| (objectClass=FAIpackageList)(objectClass=FAItemplate) - (objectClass=FAIvariable)(objectClass=FAIscript')(objectClass=FAIhook)(objectClass=FAIprofile) + (objectClass=FAIvariable)(objectClass=FAIscript)(objectClass=FAIhook)(objectClass=FAIprofile) (objectClass=FAIpartitionTable))",array("objectClass","cn"),true); /* Sort all entries, and attach elementtype. * To be able to show the types in the listbox. @@ -247,7 +247,7 @@ class workstartup extends plugin } } - if((isset($this->FAIclassInfo[$_POST['FAIclassesSel']]['FAIpackageList']))&&($found>0)){ + if((isset($this->FAIclassInfo[$_POST['FAIclassesSel']]['FAIpartitionTable']))&&($found>0)){ print_red(_("There is already a profile in your selection that contain partition table configuratons.")); }else{ $this->FAIclass[$_POST['FAIclassesSel']]=$_POST['FAIclassesSel']; -- 2.30.2