From: hickert Date: Thu, 17 Nov 2005 13:19:11 +0000 (+0000) Subject: Fixed pt error if pl was added X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9f14b81c8f69367966dc8b4ef4c1304cdabc83e2;p=gosa.git 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 --- 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'];