rssurl and atomurl are only needed where $feeds is set

master
Nis Martensen 2007-12-13 09:58:55 +01:00 committed by Joey Hess
parent c99369cdbe
commit 723a10b5b1
1 changed files with 4 additions and 2 deletions

View File

@ -173,8 +173,10 @@ sub preprocess_inline (@) { #{{{
}
}
if ($feeds) {
my $rssurl=basename(rsspage($params{destpage}).$feednum);
my $atomurl=basename(atompage($params{destpage}).$feednum);
}
my $ret="";
if ($config{cgiurl} && (exists $params{rootpage} ||