summaryrefslogtreecommitdiffstats
path: root/lib/itemmapper.php
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-05-23 15:14:10 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2012-05-23 15:14:10 -0400
commitd8a193119f442c92bd47f150d149a5d1caf44a7e (patch)
tree4929cd74ec0489d8d8475fffca8620899a03ef84 /lib/itemmapper.php
parent97f76e8cc62ede53709539595e835c4900f44d0c (diff)
separates fetching/importing from the modelling classes
Diffstat (limited to 'lib/itemmapper.php')
-rw-r--r--lib/itemmapper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/itemmapper.php b/lib/itemmapper.php
index ed8550376..c8368ba9e 100644
--- a/lib/itemmapper.php
+++ b/lib/itemmapper.php
@@ -46,7 +46,7 @@ class OC_News_ItemMapper {
while ($row = $result->fetchRow()) {
$url = $row['url'];
$title = $row['title'];
- $items[] = new OC_News_Item($spitem);
+ $items[] = new OC_News_Item($url, $title);
}
return $items;