Ignore:
Timestamp:
09/24/10 16:02:03 (14 years ago)
Author:
rafaelraymundo
Message:

Ticket #1319 - Possibilidade de erro na pesquisa do ContacCenter?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/contactcenter/inc/class.bo_ldap_manager.inc.php

    r3282 r3288  
    3939                                 
    4040                                $ou = ''; 
    41                                 if($data['cc_ldap_subLevels'] == "true") 
     41                                $subLevels = 'false'; 
     42 
     43                                if( (!isset($data['cc_ldap_subLevels'])) || ($data['cc_ldap_subLevels'] == "true") ) 
    4244                                { 
    4345                                        $ou = strtolower('ou'); 
     46                                        $subLevels = 'true'; 
    4447                                } 
    4548 
     
    5356                                                'obj'    => 'inetOrgPerson', 
    5457                                                'branch' => $ou, //strtolower('ou'), 
    55                                                 'montaDN'       => $data['cc_ldap_subLevels'], 
    56                                                 'visible' => $data['cc_ldap_query_automatic'] 
     58                                                'montaDN'=> $subLevels, //$data['cc_ldap_subLevels'], 
     59                                                'visible'=> $data['cc_ldap_query_automatic'] 
    5760                                        ) 
    5861                                ); 
Note: See TracChangeset for help on using the changeset viewer.