From 46373afbd58780d9321e536ab4522d1f044f266e Mon Sep 17 00:00:00 2001 From: Chad Little Date: Sat, 22 Nov 2003 19:53:53 +0000 Subject: Fix for matching todo's. --- search.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'search.php') diff --git a/search.php b/search.php index 083cc6d..0ecfcd1 100644 --- a/search.php +++ b/search.php @@ -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 ''.$dayofmonth.'
'; - + if ($key > 1) { + $dayofmonth = strtotime ($key); + $dayofmonth = localizeDate ($dateFormat_day, $dayofmonth); + echo ''.$dayofmonth.'
'; + } if ($val["event_text"]) { $event_text = stripslashes(urldecode($val["event_text"])); $description = stripslashes(urldecode($val["description"])); -- cgit v1.2.3