Changeset 1996 for trunk/expressoAdmin1_2/inc/class.bosectors.inc.php
- Timestamp:
- 02/10/10 12:31:28 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoAdmin1_2/inc/class.bosectors.inc.php
r1991 r1996 97 97 } 98 98 99 99 function save_sector() 100 100 { 101 101 $sector_info = $this->so->get_info($_POST['context']); 102 102 103 if (($_POST['sector_visible'] == 'on') && ($sector_info[ 'phpgwaccountvisible'] != '-1'))103 if (($_POST['sector_visible'] == 'on') && ($sector_info[0]['phpgwaccountvisible'][0] != '-1')) 104 104 { 105 105 foreach ($sector_info[0]['objectclass'] as $objectClass) … … 119 119 $this->so->add_attribute($sector_info[0]['dn'], $ldap_mod_add); 120 120 } 121 elseif($sector_info[ 'phpgwaccountvisible'] == '-1')121 elseif($sector_info[0]['phpgwaccountvisible'][0] == '-1') 122 122 { 123 123 $ldap_mod_del['objectClass'] = 'phpgwAccount';
Note: See TracChangeset
for help on using the changeset viewer.