Changeset 1633


Ignore:
Timestamp:
11/13/09 10:21:42 (9 years ago)
Author:
niltonneto
Message:

Ticket #745 - Correção de problema que não lista/pesquisa grupos.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/inc/class.ldap_functions.inc.php

    r1500 r1633  
    419419                    $justthese = array("gidNumber","cn"); 
    420420                    if ($params['type'] == 'search') 
    421                         //$sr=ldap_search($this->ds, $user_context, ("(&(phpgwaccounttype=g)(!(phpgwaccountvisible=-1))(phpgwaccountstatus=A)(cn=*$filtro*))"),$justthese); 
    422                         $sr=ldap_search($this->ds, $context, ("(&(phpgwaccounttype=g)(!(phpgwaccountvisible=-1))(phpgwaccountstatus=A)(cn=*$filtro*))"),$justthese); 
     421                        $sr=ldap_search($this->ds, $context, ("(&(phpgwaccounttype=g)(!(phpgwaccountvisible=-1))(cn=*$filtro*))"),$justthese); 
    423422                    else 
    424                         $sr=ldap_list($this->ds, $user_context, ("(&(phpgwaccounttype=g)(!(phpgwaccountvisible=-1))(phpgwaccountstatus=A)(cn=*".$filtro."*))"),$justthese); 
     423                        $sr=ldap_list($this->ds, $user_context, ("(&(phpgwaccounttype=g)(!(phpgwaccountvisible=-1))(cn=*".$filtro."*))"),$justthese); 
    425424                    $info = ldap_get_entries($this->ds, $sr); 
    426425                    for ($i=0; $i<$info["count"]; $i++) 
Note: See TracChangeset for help on using the changeset viewer.