Changeset 4024
- Timestamp:
- 04/14/11 10:53:29 (13 years ago)
- Location:
- branches/2.2.0.1/calendar/inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.0.1/calendar/inc/class.socalendar.inc.php
r3976 r4024 122 122 $starttime = mktime(0,0,0,$smonth,$sday,$syear) - $GLOBALS['phpgw']->datetime->tz_offset; 123 123 $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 (". 125 125 (is_array($owner_id) ? implode(',',$owner_id) : $owner_id).')'; 126 126 -
branches/2.2.0.1/calendar/inc/class.socalendar_sql.inc.php
r4009 r4024 953 953 $enddate = $this->maketime($event['end']) - $GLOBALS['phpgw']->datetime->tz_offset; 954 954 $today = time() - $GLOBALS['phpgw']->datetime->tz_offset; 955 956 if($event['recur_type'] != MCAL_RECUR_NONE)957 {958 $type = 'M';959 }960 else961 {955 // 956 // if($event['recur_type'] != MCAL_RECUR_NONE) 957 // { 958 // $type = 'M'; 959 // } 960 // else 961 // { 962 962 if ($event['type'] == 'hourAppointment') 963 963 $type = 'H'; … … 966 966 }else 967 967 $type = 'E'; 968 } 969 970 is_array($event['attachment'])?$sattach=serialize($event['attachment']):$sattach=''; 968 // } 969 is_array($event['attachment'])?$sattach=serialize($event['attachment']):$sattach=''; 971 970 972 971 $sql = 'UPDATE phpgw_cal SET '
Note: See TracChangeset
for help on using the changeset viewer.