Ignore:
Timestamp:
02/07/11 17:15:46 (13 years ago)
Author:
eduardoalex
Message:

Ticket #1532 - Adicionada mensagem de erro ao tentar importar o evento 2 vezes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/calendar/inc/class.boicalendar.inc.php

    r3721 r3736  
    30503050                                if($uid_exists) 
    30513051                                { 
    3052                                         $event = $so_event->read_entry($uid_exists); 
    3053                                         $this->check_owner($event,$ical['event'][$i],$so_event); 
    3054                                         $event = $so_event->get_cached_event(); 
    3055                                         $so_event->add_entry($event); 
    3056 //                                      $event = $so_event->get_cached_event(); 
     3052                                        // $event = $so_event->read_entry($uid_exists); 
     3053                                        // $this->check_owner($event,$ical['event'][$i],$so_event); 
     3054                                        // $event = $so_event->get_cached_event(); 
     3055                                        // $so_event->add_entry($event); 
     3056                                        Header('Location: ' . $GLOBALS['phpgw']->link('/index.php', 
     3057                                                        Array( 
     3058                                                                'menuaction'    => 'calendar.uiicalendar.import', 
     3059                                                                'error_number'  => 1 
     3060                                                        ) 
     3061                                                ) 
     3062                                        ); 
     3063                                        $GLOBALS['phpwg']->common->phpgw_exit(); 
     3064 
    30573065                                } 
    30583066                                else 
     
    33693377                                        ) 
    33703378                                ); 
    3371                                 $GLOBALS['phpgw']->common->phpgw_exit();                                 
     3379                                $GLOBALS['phpgw']->common->phpgw_exit(); 
    33723380                        } 
    33733381                        else  
Note: See TracChangeset for help on using the changeset viewer.