Set page_numfeeds only if feeds are being generated

master
Nis Martensen 2007-12-06 13:06:21 +01:00 committed by Joey Hess
parent 10a2895b3b
commit 74a56db8d6
1 changed files with 3 additions and 1 deletions

View File

@ -165,9 +165,11 @@ sub preprocess_inline (@) { #{{{
}
else {
$feednum=$knownfeeds{$feedid}="";
if ($feeds) {
$page_numfeeds{$params{destpage}}=1;
}
}
}
my $rssurl=basename(rsspage($params{destpage}).$feednum);
my $atomurl=basename(atompage($params{destpage}).$feednum);