diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-05-29 16:07:12 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-05-29 16:07:12 -0400 |
commit | a6e57a9a1f4427de872c4bf0050cc0ee38d2adfe (patch) | |
tree | 82f1a064079526950bcb7a9bbf9cd1262df93564 /lib/utils.php | |
parent | 07fdf6ad3c3cc659a06099cd2011aab1ce2c8c5e (diff) |
adds indices to database schema
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); |