summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-07-12 10:49:12 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-07-12 10:49:12 -0400
commit37471e92d987c6ea6deed10312ab7424cbfc30ae (patch)
tree2d32e1445ff94439c3c05aa4c86021a63d957360
parent0fe87efc348643e30405f2d50c8498c971b99af4 (diff)
elide temp var
-rw-r--r--IkiWiki/Plugin/inline.pm4
1 files changed, 1 insertions, 3 deletions
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")) {