summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2b06f07)
raw | patch | inline | side by side (parent: 2b06f07)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 1 Apr 2010 07:51:20 +0000 (07:51 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 1 Apr 2010 07:51:20 +0000 (07:51 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17452 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/gofon/gofon/fonreports/class_fonreport.inc | patch | blob | history |
diff --git a/gosa-plugins/gofon/gofon/fonreports/class_fonreport.inc b/gosa-plugins/gofon/gofon/fonreports/class_fonreport.inc
index 2c4ffe2dc2081893d94b7bb46559c621dfa07ca3..b4c77d2d49a4569e7e6491b427add02bdc3e856b 100644 (file)
/* 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");