diff options
author | Chad Little <clittle@users.sourceforge.net> | 2003-11-22 19:53:53 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2003-11-22 19:53:53 +0000 |
commit | 46373afbd58780d9321e536ab4522d1f044f266e (patch) | |
tree | 9b47599274c59008ac5aed2a600590e9eba8e98d /search.php | |
parent | 0c27e3620564c993716b237090e5bc6c31138a9d (diff) | |
download | phpicalendar-46373afbd58780d9321e536ab4522d1f044f266e.tar.gz phpicalendar-46373afbd58780d9321e536ab4522d1f044f266e.tar.bz2 phpicalendar-46373afbd58780d9321e536ab4522d1f044f266e.zip |
Fix for matching todo's.
Diffstat (limited to 'search.php')
-rw-r--r-- | search.php | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -117,10 +117,11 @@ include (BASE.'includes/header.inc.php'); if (isset($the_arr) && is_array($the_arr)) { foreach($the_arr as $val) { $key = $val['date']; - $dayofmonth = strtotime ($key); - $dayofmonth = localizeDate ($dateFormat_day, $dayofmonth); - echo '<font class="V12"><b><a class="ps3" href="day.php?cal='.$cal.'&getdate='.$key.'">'.$dayofmonth.'</a></b></font><br>'; - + if ($key > 1) { + $dayofmonth = strtotime ($key); + $dayofmonth = localizeDate ($dateFormat_day, $dayofmonth); + echo '<font class="V12"><b><a class="ps3" href="day.php?cal='.$cal.'&getdate='.$key.'">'.$dayofmonth.'</a></b></font><br>'; + } if ($val["event_text"]) { $event_text = stripslashes(urldecode($val["event_text"])); $description = stripslashes(urldecode($val["description"])); |