Code

Kioskmanagement -> remove entry :
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 12 Oct 2007 05:33:31 +0000 (05:33 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 12 Oct 2007 05:33:31 +0000 (05:33 +0000)
Fixed check for still used kiosk profiles. :

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7524 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/environment/class_kioskManagementDialog.inc

index c3e88aca47279a8567b23a9b24b65a75bef7292a..fd3342d670c11f6003a6d04721490b7b5d1bb4d8 100644 (file)
@@ -63,7 +63,7 @@ class kioskManagementDialog extends plugin
         /* check if profile is still in use */ 
         $ldap = $this->config->get_ldap_link();
         $ldap->cd($this->config->current['BASE']);
-        $ldap->search("(gotoKioskProfile=*lhs.schema*)",array("cn","uid","gotoKioskProfile"));
+        $ldap->search("(gotoKioskProfile=*".$name."*)",array("cn","uid","gotoKioskProfile"));
         $used_by = "";
         $cnt = 3;
         while(($attrs = $ldap->fetch()) && ($cnt)){