aboutsummaryrefslogtreecommitdiffstats
path: root/rss
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2002-11-22 21:16:58 +0000
committerChad Little <clittle@users.sourceforge.net>2002-11-22 21:16:58 +0000
commit94b4bf779ba7bd00c60ddd68df1563c8db9442b4 (patch)
tree0b470464819e2e98e68493e68f28fd35e72a213e /rss
parent294c562ed67aae0706a0e2dd443cecf12969b951 (diff)
downloadphpicalendar-94b4bf779ba7bd00c60ddd68df1563c8db9442b4.tar.gz
phpicalendar-94b4bf779ba7bd00c60ddd68df1563c8db9442b4.tar.bz2
phpicalendar-94b4bf779ba7bd00c60ddd68df1563c8db9442b4.zip
Fixed no events this week bug.
Diffstat (limited to 'rss')
-rw-r--r--rss/rss.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/rss/rss.php b/rss/rss.php
index 252b587..bc289cf 100644
--- a/rss/rss.php
+++ b/rss/rss.php
@@ -109,7 +109,7 @@ if ($rssview == "week") {
}
}
}
- if ($events_week < 1) {
+ if (($events_week < 1) && ($i == 6)) {
$rss .= '<item>'."\n";
$rss .= '<title>'.$no_events_week_lang.'</title>'."\n";
$rss .= '<link>'.htmlspecialchars ("$default_path").'</link>'."\n";

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