Changeset 1363


Ignore:
Timestamp:
08/25/09 15:56:34 (15 years ago)
Author:
niltonneto
Message:

Ticket #565 - Corrigido problema que exibia organizações ocultas.

File:
1 edited

Legend:

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

    r1059 r1363  
    366366 
    367367                        if($this->branch != '') { 
    368                                 $filter=$this->branch."=*"; 
     368                                $filter="(&(".$this->branch."=*)(!(phpgwAccountVisible=-1)))"; 
    369369                                $justthese = array("$this->branch"); 
    370370                        $sr = ldap_list($this->ds, $this->ldap_context, $filter, $justthese); 
     
    386386                $this->ldapRootConnect($referral); 
    387387                if ($this->ds) { 
    388                         $filter="ou=*"; 
     388                        $filter="(&(ou=*)(!(phpgwAccountVisible=-1)))"; 
    389389                        $justthese = array("ou"); 
    390390                        $sr = ldap_list($this->ds, $this->ldap_context, $filter, $justthese); 
Note: See TracChangeset for help on using the changeset viewer.