Ignore:
Timestamp:
07/31/12 14:48:40 (12 years ago)
Author:
cristiano
Message:

Ticket #2895 - Backport de funcionalidade de domínios associados

File:
1 edited

Legend:

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

    r6697 r6917  
    5353                $sector_info['diskQuota'] = isset($_POST['disk_quota']) ? (int)$_POST['disk_quota'] : 0;  
    5454                $sector_info['usersQuota'] = isset($_POST['users_quota']) ? (int)$_POST['users_quota'] : 0;  
     55 
     56                if( isset($_POST['associated_domain']) )  
     57                {  
     58                    if ( $_POST['associated_domain'] != "") {  
     59                        $sector_info['objectClass'][]  = 'domainRelatedObject';  
     60                        $sector_info['associatedDomain'] = trim($_POST['associated_domain']);  
     61                    }  
     62                }  
    5563 
    5664                        $systemName = $GLOBALS['phpgw_info']['server']['system_name']; 
Note: See TracChangeset for help on using the changeset viewer.