diff options
Diffstat (limited to 'lib/utils.php')
-rw-r--r-- | lib/utils.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/utils.php b/lib/utils.php index e5ea27626..dd752aea4 100644 --- a/lib/utils.php +++ b/lib/utils.php @@ -41,7 +41,8 @@ class OC_News_Utils { foreach($spitems as $spitem) { //FIXME: maybe we can avoid this loop $itemUrl = $spitem->get_permalink(); $itemTitle = $spitem->get_title(); - $items[] = new OC_News_Item($itemUrl, $itemTitle); + $itemGUID = $spitem->get_id(); + $items[] = new OC_News_Item($itemUrl, $itemTitle, $itemGUID); } $feed = new OC_News_Feed($url, $title, $items); |