From: hickert Date: Thu, 27 Mar 2008 09:43:59 +0000 (+0000) Subject: Fixed ACLs in phoneAccount. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0296a601d3f771a6b759d3ce299231843c5489d0;p=gosa.git Fixed ACLs in phoneAccount. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10020 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc b/gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc index 2c0f36620..d8bac8289 100644 --- a/gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc +++ b/gosa-plugins/gofon/gofon/phoneaccount/class_phoneAccount.inc @@ -131,7 +131,7 @@ class phoneAccount extends plugin /* Get available phone hardware * Search for all available phone hardware */ - $tmp = get_sub_list("(objectClass=goFonHardware)","",array(get_ou("phoneou")), + $tmp = get_sub_list("(objectClass=goFonHardware)","phone",array(get_ou("phoneou")), $this->config->current['BASE'],array("cn","description"), GL_NO_ACL_CHECK); foreach($tmp as $attrs){ $cn= $attrs['cn'][0]; @@ -158,7 +158,7 @@ class phoneAccount extends plugin get_ou("componentou"), get_ou("phoneou")); - $tmp = get_sub_list("(goFonHardware=*)","",$deps_a,$this->config->current['BASE'], + $tmp = get_sub_list("(goFonHardware=*)","phone",$deps_a,$this->config->current['BASE'], array('cn','dn','goFonHardware'),GL_NO_ACL_CHECK); foreach($tmp as $attrs){ $cn = $attrs['goFonHardware'][0];