From: Joey Hess Date: Sat, 12 Jul 2008 14:49:12 +0000 (-0400) Subject: elide temp var X-Git-Tag: 2.54~123 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=37471e92d987c6ea6deed10312ab7424cbfc30ae;p=ikiwiki.git elide temp var --- diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm index 9a63ea1c9..2226e5723 100644 --- a/IkiWiki/Plugin/inline.pm +++ b/IkiWiki/Plugin/inline.pm @@ -444,9 +444,7 @@ sub genfeed ($$$$@) { #{{{ if (exists $pagestate{$p} && exists $pagestate{$p}{meta}{uuid}) { - my $atom_id = $pagestate{$p}{meta}{uuid}; - - $itemtemplate->param(uuid => $atom_id); + $itemtemplate->param(uuid => $pagestate{$p}{meta}{uuid}); } if ($itemtemplate->query(name => "enclosure")) {