From 0a1b34128790bd3385ec47dece5b6826c40492fd Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 12 Oct 2007 05:33:31 +0000 Subject: [PATCH] Kioskmanagement -> remove entry : 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/personal/environment/class_kioskManagementDialog.inc b/plugins/personal/environment/class_kioskManagementDialog.inc index c3e88aca4..fd3342d67 100644 --- a/plugins/personal/environment/class_kioskManagementDialog.inc +++ b/plugins/personal/environment/class_kioskManagementDialog.inc @@ -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)){ -- 2.30.2