diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-06-04 18:17:11 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-06-04 18:17:11 -0400 |
commit | 200aebe1f4220d9d0b8f1b3807704300ced28f16 (patch) | |
tree | 8f987111c58e586c778d573217967d8269b2dc2b /lib/itemmapper.php | |
parent | 48ca4574197d3452189eb204324f724dadf6a888 (diff) |
fixes bug on status bitfield; tests storing the status in db
Diffstat (limited to 'lib/itemmapper.php')
-rw-r--r-- | lib/itemmapper.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/itemmapper.php b/lib/itemmapper.php index ea59756eb..6f7acb939 100644 --- a/lib/itemmapper.php +++ b/lib/itemmapper.php @@ -41,7 +41,9 @@ class OC_News_ItemMapper { $url = $row['url']; $title = $row['title']; $guid = $row['guid']; + $status = $row['status']; $item = new OC_News_Item($url, $title, $guid); + $item->setStatus($status); $items[] = $item; } |