aggregate: Correct a mistake in the code that dummy up a guid for feeds lacking one.

master
Joey Hess 2008-04-03 02:36:01 -04:00
parent abb432ff4c
commit de8c34df59
2 changed files with 8 additions and 1 deletions

View 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,
);
}

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
ikiwiki (2.42) UNRELEASED; urgency=low
* aggregate: Correct a mistake in the code that dummy up a guid for feeds
lacking one.
-- Joey Hess <joeyh@debian.org> Thu, 03 Apr 2008 02:35:39 -0400
ikiwiki (2.41) unstable; urgency=low
[ Adeodato Simó ]