]> scripts.mit.edu Git - www/ikiwiki.git/blobdiff - IkiWiki/Plugin/aggregate.pm
aggregate: Correct a mistake in the code that dummy up a guid for feeds lacking one.
[www/ikiwiki.git] / IkiWiki / Plugin / aggregate.pm
index 942dbbcc3e0ad69d0148382ba163869dce71c58d..cb165acd2a0e7bb2c647d990d7723bf18a33b291 100644 (file)
@@ -404,7 +404,7 @@ sub aggregate (@) { #{{{
                                title => defined $entry->title ? decode_entities($entry->title) : "untitled",
                                link => $entry->link,
                                content => defined $entry->content->body ? $entry->content->body : "",
-                               guid => defined $entry->id ? $entry->id : time."_".$feed->name,
+                               guid => defined $entry->id ? $entry->id : time."_".$feed->{name},
                                ctime => $entry->issued ? ($entry->issued->epoch || time) : time,
                        );
                }