From bfcd75e5f3eddb0efd335f736263b00ea057b6f9 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Sun, 16 Nov 2003 06:09:09 +0000 Subject: Initial bleed time and display end checkin. --- week.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'week.php') diff --git a/week.php b/week.php index 0d3e0c7..488d707 100644 --- a/week.php +++ b/week.php @@ -304,7 +304,8 @@ include (BASE.'includes/header.inc.php'); echo "\n"; echo ''; $event_end = $this_time_arr[($event_length[$thisday][$i]["key"])]["end_unixtime"]; - $event_end = date ($timeFormat, $event_end); + if (isset($this_time_arr[($event_length[$thisday][$i]["key"])]['display_end'])) $event_end = strtotime ($this_time_arr[($event_length[$thisday][$i]["key"])]['display_end']); + $event_end = date ($timeFormat, $event_end); // Todo: keep track of where the event comes from, and indicate that to openevent instead of $ALL_CALENDARS_COMBINED if ($cal == $ALL_CALENDARS_COMBINED) $calendar_name2=$cal; else $calendar_name2=$calendar_name; openevent("$calendar_name2", -- cgit v1.2.3