Ignore:
Timestamp:
10/21/10 18:09:17 (14 years ago)
Author:
eduardoalex
Message:

Ticket #1223 - Corrigida a apresentacao dos usuarios de um grupo no mapa de disponibilidade

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/expressoAdmin1_2/inc/class.ldap_functions.inc.php

    r3370 r3396  
    12401240        } 
    12411241         
    1242         function get_group_info($gidnumber) 
    1243         { 
    1244                 foreach ($this->manager_contexts as $index=>$context) 
     1242        function get_group_info($gidnumber,$use_global_context=false) 
     1243        { 
     1244                $array_context = $use_global_context ? Array(0 => $GLOBALS['phpgw_info']['server']['ldap_context']) : $this->manager_contexts; 
     1245                foreach ($array_context as $index=>$context) 
    12451246                { 
    12461247                        $filter="(&(phpgwAccountType=g)(gidNumber=".$gidnumber."))"; 
Note: See TracChangeset for help on using the changeset viewer.