diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-05-23 15:14:10 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-05-23 15:14:10 -0400 |
commit | d8a193119f442c92bd47f150d149a5d1caf44a7e (patch) | |
tree | 4929cd74ec0489d8d8475fffca8620899a03ef84 /lib/itemmapper.php | |
parent | 97f76e8cc62ede53709539595e835c4900f44d0c (diff) |
separates fetching/importing from the modelling classes
Diffstat (limited to 'lib/itemmapper.php')
-rw-r--r-- | lib/itemmapper.php | 2 |
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; |