summaryrefslogtreecommitdiffstats
path: root/templates/part.items.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2012-08-15 15:55:54 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2012-08-15 15:55:54 +0200
commit608ed2deb12504596f8556be47292620f1985fc8 (patch)
tree53b225eb20c15f6ce943d20ef76f2b011931cb9e /templates/part.items.php
parent58716d325c235d4ae8101c13d7936da643cb8ccf (diff)
parent04497e9e68516537244c359a06f29aa6b2afce08 (diff)
Merge branch 'newsapp' of git://gitorious.org/owncloud/apps into newsapp
Diffstat (limited to 'templates/part.items.php')
-rw-r--r--templates/part.items.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/part.items.php b/templates/part.items.php
index afac3e10a..399274e30 100644
--- a/templates/part.items.php
+++ b/templates/part.items.php
@@ -6,7 +6,7 @@ $itemMapper = new OCA\News\ItemMapper();
$showOnlyUnread = true; // FIXME: get this from the settings db
if($showOnlyUnread){
- $items = $itemMapper->findAllStatus($feedId, OCA\News\StatusFlag::Unread);
+ $items = $itemMapper->findAllStatus($feedId, OCA\News\StatusFlag::UNREAD);
} else {
$items = $itemMapper->findAll($feedId);
}