Ignore:
Timestamp:
01/24/12 17:22:37 (12 years ago)
Author:
cristiano
Message:

Ticket #2434 - Correções no importar ical

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/inc/class.db_functions.inc.php

    r5409 r5415  
    400400                                $_REQUEST['params']['calendar'] = $params['selected']; 
    401401                                $_REQUEST['readable'] = $params['readable'] ? true : false; 
     402                                $_REQUEST['analize'] = isset($params['readable']) ? true : false; 
    402403                                $_REQUEST['params']['status'] = $params['status']; 
    403404                                $_REQUEST['params']['owner'] = $_SESSION['phpgw_info']['expressomail']['user']['account_id']; 
     
    409410                                        if(!$valid) 
    410411                                        { 
    411                                                 $return = false; 
    412                                                 $output = unserialize($output);                                                                          
    413                                                 foreach($output[0] as $key => &$value){ 
    414                                                  
    415                                                         if(isset($value['user'])){                                                       
    416                                                                 if($user == $value['user']) 
    417                                                                         return  $value['schedulable']; 
    418                                                         } 
    419                                                 } 
     412                                                $output = unserialize($output);  
     413                                                foreach($output as $key => $value) 
     414                                                    return $value; 
    420415                                        } 
    421416                                        return false; 
Note: See TracChangeset for help on using the changeset viewer.