Update of /cvsroot/phpicalendar/phpicalendar/functions/parse
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv25898/functions/parse
Modified Files:
end_vevent.php
Log Message:
revert event length display adjustment - messes up overlap calculations
Index: end_vevent.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/functions/parse/end_vevent.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** end_vevent.php 26 Dec 2008 16:59:10 -0000 1.16
--- end_vevent.php 26 Dec 2008 22:33:33 -0000 1.17
***************
*** 37,43 ****
$uid_counter++;
$uid_valid = false;
! } else {
$uid_valid = true;
}
# adjust event start and end times
--- 37,47 ----
$uid_counter++;
$uid_valid = false;
! }elseif(in_array($uid, $uid_list)) {
! $uid .= $uid_counter;
! $uid_counter++;
! }else{
$uid_valid = true;
}
+ $uid_list[] = $uid;
# adjust event start and end times
|