From: <ji...@us...> - 2009-01-26 05:07:44
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv27793/functions Modified Files: ical_parser.php Log Message: for bug 2525176 require sequence to increment for modified events. Also fix uid handling Index: ical_parser.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/ical_parser.php,v retrieving revision 1.244 retrieving revision 1.245 diff -C2 -d -r1.244 -r1.245 *** ical_parser.php 26 Jan 2009 03:51:52 -0000 1.244 --- ical_parser.php 26 Jan 2009 05:07:38 -0000 1.245 *************** *** 27,31 **** $wcalc = $master_array['-4'][$z]['webcal']; if ($wcalc == 'no') $realcal_mtime = filemtime($fname); ! if (($mtime == $realcal_mtime) && ($wcalc == 'no')) { $y++; } elseif (($wcalc == 'yes') && ($mtime > $webcal_mtime)) { --- 27,31 ---- $wcalc = $master_array['-4'][$z]['webcal']; if ($wcalc == 'no') $realcal_mtime = filemtime($fname); ! if (isset($realcal_mtime) && ($mtime == $realcal_mtime) && ($wcalc == 'no')) { $y++; } elseif (($wcalc == 'yes') && ($mtime > $webcal_mtime)) { *************** *** 143,146 **** --- 143,147 ---- $interval = 1; + $sequence = 0; $summary = ''; $description = ''; *************** *** 389,392 **** --- 390,396 ---- break; + case 'SEQUENCE': + $sequence = $data; + break; case 'UID': $uid = $data; |