diff options
author | Chad Little <clittle@users.sourceforge.net> | 2002-11-22 19:58:35 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2002-11-22 19:58:35 +0000 |
commit | 294c562ed67aae0706a0e2dd443cecf12969b951 (patch) | |
tree | aceb7c41eb0a96358ad47dc9ca60f9eb291c85d0 /sidebar.php | |
parent | e420d282cd43cd2d7b341402c037d06b4570a9dc (diff) | |
download | phpicalendar-294c562ed67aae0706a0e2dd443cecf12969b951.tar.gz phpicalendar-294c562ed67aae0706a0e2dd443cecf12969b951.tar.bz2 phpicalendar-294c562ed67aae0706a0e2dd443cecf12969b951.zip |
Patch applied for sidebar.php (completed status).
Diffstat (limited to 'sidebar.php')
-rw-r--r-- | sidebar.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sidebar.php b/sidebar.php index 77f0715..6d15ea4 100644 --- a/sidebar.php +++ b/sidebar.php @@ -227,7 +227,7 @@ if ((isset($master_array['-2'])) && ($show_todos == 'yes')) { ?> $calendar_name2 = addslashes($calendar_name); $calendar_name2 = urlencode($calendar_name2); $event_text = word_wrap($event_text, 21, $tomorrows_events_lines); - if ($val['status'] == 'COMPLETED') { + if ($val['status'] == 'COMPLETED' || (isset($val['completed_date']) && isset($val['completed_time']))) { if ($show_completed == 'yes') { $event_text = "<S>$event_text</S>"; echo "<a class=\"psf\" href=\"javascript:openEventInfo('$event_text2', '$calendar_name2', '$event_start', '$event_end', '$description')\"><font class=\"G10B\"><img src=\"images/completed.gif\" alt=\"\" width=\"13\" height=\"11\" border=\"0\" align=\"middle\"> $event_text</font></a><br>\n"; |