Ignore:
Timestamp:
09/09/09 12:14:56 (15 years ago)
Author:
rodsouza
Message:

Ticket #478 - Alterada o valor do atributo de consulta do LDAP para o coringa

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoAdmin1_2/inc/class.uisectors.inc.php

    r1145 r1394  
    150150                        $manager_contexts = $acl['contexts']; 
    151151                        $combo_manager_org = ''; 
    152                         foreach ($manager_contexts as $index=>$context) 
    153                                 $combo_manager_org .= $this->functions->get_organizations( $context ); 
    154  
    155                         $context = $_GET['context']; 
    156                          
     152 
     153                        if ( array_key_exists( 'context', $_GET ) ) 
     154                        { 
     155                                $context = $_GET['context']; 
     156                                $combo_manager_org = $this->functions->get_organizations( $context, '', true, true, true ); 
     157                        } 
     158                        else 
     159                        { 
     160                                foreach ($manager_contexts as $index=>$context) 
     161                                        $combo_manager_org .= $this->functions->get_organizations( $context ); 
     162                        } 
     163 
    157164                        // Verifica se tem acesso a este modulo 
    158165                        if (!$this->functions->check_acl($manager_lid,'create_sectors')) 
Note: See TracChangeset for help on using the changeset viewer.