Changeset 4047


Ignore:
Timestamp:
04/15/11 15:29:59 (13 years ago)
Author:
brunocosta
Message:

Ticket #1743 - Mudanças no tipo de eventos recorrentes.

Location:
branches/2.2/calendar/inc
Files:
2 edited

Legend:

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

    r1729 r4047  
    122122                        $starttime = mktime(0,0,0,$smonth,$sday,$syear) - $GLOBALS['phpgw']->datetime->tz_offset; 
    123123                        $endtime = mktime(23,59,59,$emonth,$eday,$eyear) - $GLOBALS['phpgw']->datetime->tz_offset; 
    124                         $sql = "AND phpgw_cal.cal_type='M' AND phpgw_cal_user.cal_login IN (". 
     124                        $sql = "AND phpgw_cal_user.cal_login IN (". 
    125125                                (is_array($owner_id) ? implode(',',$owner_id) : $owner_id).')'; 
    126126 
  • branches/2.2/calendar/inc/class.socalendar_sql.inc.php

    r3608 r4047  
    951951                        $today = time() - $GLOBALS['phpgw']->datetime->tz_offset; 
    952952 
    953                         if($event['recur_type'] != MCAL_RECUR_NONE) 
    954                         { 
    955                                 $type = 'M'; 
    956                         } 
    957                         else 
    958                         { 
    959                                 if ($event['type'] == 'hourAppointment') 
    960                                         $type = 'H'; 
    961                                 else if($event['type'] == 'privateHiddenFields'){ 
    962                                         $type = 'P'; 
    963                                 }else 
    964                                         $type = 'E'; 
    965                         } 
     953                        if ($event['type'] == 'hourAppointment') 
     954                                $type = 'H'; 
     955                        else if($event['type'] == 'privateHiddenFields'){ 
     956                                $type = 'P'; 
     957                        }else 
     958                                $type = 'E'; 
    966959 
    967960                        $sql = 'UPDATE phpgw_cal SET ' 
Note: See TracChangeset for help on using the changeset viewer.