Changeset 1394 for trunk/expressoAdmin1_2/inc/class.uisectors.inc.php
- Timestamp:
- 09/09/09 12:14:56 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoAdmin1_2/inc/class.uisectors.inc.php
r1145 r1394 150 150 $manager_contexts = $acl['contexts']; 151 151 $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 157 164 // Verifica se tem acesso a este modulo 158 165 if (!$this->functions->check_acl($manager_lid,'create_sectors'))
Note: See TracChangeset
for help on using the changeset viewer.