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,7 +165,9 @@ sub preprocess_inline (@) { #{{{
}
else {
$feednum=$knownfeeds{$feedid}="";
$page_numfeeds{$params{destpage}}=1;
if ($feeds) {
$page_numfeeds{$params{destpage}}=1;
}
}
}