summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2001-06-26 15:43:29 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2001-06-26 15:43:29 +0000
commitdf30ccb06109a7bcd9a4d830aba696a79f1511b4 (patch)
treedfa6b50a577c80fd9d243099163f33654c78a50b
parent8d46b18892710baae01f4798f290b91476a042ed (diff)
downloadbrdo-df30ccb06109a7bcd9a4d830aba696a79f1511b4.tar.gz
brdo-df30ccb06109a7bcd9a4d830aba696a79f1511b4.tar.bz2
The ever persistant typo.....
-rw-r--r--modules/calendar.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/calendar.module b/modules/calendar.module
index a2e66f3a5..e60e47dc2 100644
--- a/modules/calendar.module
+++ b/modules/calendar.module
@@ -30,7 +30,7 @@ class Calendar {
// Calculate previous and next months dates and check for shorter months (28/30 days)
$prevmonth = mktime(23, 59, 59, $month - 1, 1, $year);
$prev = mktime(23, 59, 59, $month - 1, min(date("t", $prevmonth), $day), $year);
- $nextmonth = mktime(23, 59, 59, $month + 1, 31, $year);
+ $nextmonth = mktime(23, 59, 59, $month + 1, 1, $year);
$next = mktime(23, 59, 59, $month + 1, min(date("t", $nextmonth), $day), $year);
// Generate calendar header: