aboutsummaryrefslogtreecommitdiffstats
path: root/search.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2003-11-22 19:53:53 +0000
committerChad Little <clittle@users.sourceforge.net>2003-11-22 19:53:53 +0000
commit46373afbd58780d9321e536ab4522d1f044f266e (patch)
tree9b47599274c59008ac5aed2a600590e9eba8e98d /search.php
parent0c27e3620564c993716b237090e5bc6c31138a9d (diff)
downloadphpicalendar-46373afbd58780d9321e536ab4522d1f044f266e.tar.gz
phpicalendar-46373afbd58780d9321e536ab4522d1f044f266e.tar.bz2
phpicalendar-46373afbd58780d9321e536ab4522d1f044f266e.zip
Fix for matching todo's.
Diffstat (limited to 'search.php')
-rw-r--r--search.php9
1 files changed, 5 insertions, 4 deletions
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 '<font class="V12"><b><a class="ps3" href="day.php?cal='.$cal.'&amp;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.'&amp;getdate='.$key.'">'.$dayofmonth.'</a></b></font><br>';
+ }
if ($val["event_text"]) {
$event_text = stripslashes(urldecode($val["event_text"]));
$description = stripslashes(urldecode($val["description"]));

© 2014-2024 Faster IT GmbH | imprint | privacy policy