From 6d74707017e829ee750fcaaadfbd7d3358267e8a Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 1 Apr 2010 07:51:20 +0000 Subject: [PATCH] Fixed uid search git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17452 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../gofon/gofon/fonreports/class_fonreport.inc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gosa-plugins/gofon/gofon/fonreports/class_fonreport.inc b/gosa-plugins/gofon/gofon/fonreports/class_fonreport.inc index 2c4ffe2dc..b4c77d2d4 100644 --- a/gosa-plugins/gofon/gofon/fonreports/class_fonreport.inc +++ b/gosa-plugins/gofon/gofon/fonreports/class_fonreport.inc @@ -336,19 +336,19 @@ class fonreport extends plugin /* Create WHERE part for our mysql serach */ function GetUidMatchingFilter() { - $ldap = $this->config->get_ldap_link(); - $ldap->cd ($this->search_base); - $s = $this->search_for; + $ldap= $this->config->get_ldap_link(); + $ldap->cd($this->search_base); + $s = $this->search_for; - $s = preg_replace("/\%/","",$s); - $s2 = preg_replace("/\*/","%",$s); + $s = preg_replace("/\%/","",$s); + $s2 = preg_replace("/\*/","%",$s); $filter = "(&(objectClass=gosaAccount)(!(objectClass=gosaUserTemplate))". "(|(uid=$s)(l=$s)(homePhone=$s)(telephoneNumber=$s)(facsimileTelephoneNumber=$s)(mobile=$s)". "(pager=$s)(cn=$s)(givenName=$s)(sn=$s)(personalTitle=$s)(title=$s)))"; $attrs = array("uid"); - $res = get_sub_list($filter,"fonreport/fonreport",get_people_ou(),$this->search_base,$attrs); + $res = get_list($filter,"fonreport/fonreport",$this->search_base,$attrs); $str = " AND ("; $fields = array("dstchannel","channel"); -- 2.30.2