aboutsummaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2004-10-30 01:06:23 +0000
committerChad Little <clittle@users.sourceforge.net>2004-10-30 01:06:23 +0000
commit27ed7982d70c7131ffe4c4b01dbdaebb6936641a (patch)
tree89f17108ad6ee2a8758a95fe8eab3d97c87de48a /functions
parent9d4a9f2152bca029ba1471b4ff3e09a15a020785 (diff)
downloadphpicalendar-27ed7982d70c7131ffe4c4b01dbdaebb6936641a.tar.gz
phpicalendar-27ed7982d70c7131ffe4c4b01dbdaebb6936641a.tar.bz2
phpicalendar-27ed7982d70c7131ffe4c4b01dbdaebb6936641a.zip
An update.
Diffstat (limited to 'functions')
-rw-r--r--functions/template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/template.php b/functions/template.php
index 4b11918..1b492ce 100644
--- a/functions/template.php
+++ b/functions/template.php
@@ -176,7 +176,7 @@ class Page {
preg_match("!<\!-- loop daysofweek on -->(.*)<\!-- loop daysofweek off -->!is", $this->page, $match1);
$loop_dof = trim($match1[1]);
$start_wt = strtotime(dateOfWeek($getdate, $week_start_day));
- $start_day = strtotime($week_start_day);
+ $start_wt = strtotime(dateOfWeek($getdate, $week_start_day));
for ($i=0; $i<7; $i++) {
$day_num = date("w", $start_day);
$daylink = date('Ymd', $start_wt);

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