summaryrefslogtreecommitdiffstats
path: root/templates/test.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/test.php')
-rw-r--r--templates/test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/test.php b/templates/test.php
index 35a1019ed..3ef18c954 100644
--- a/templates/test.php
+++ b/templates/test.php
@@ -2,7 +2,7 @@
$itemmapper = new OCA\News\ItemMapper();
-$items = $itemmapper->findAllStatus(155, OCA\News\StatusFlag::Unread);
+$items = $itemmapper->findAllStatus(155, OCA\News\StatusFlag::UNREAD);
foreach ($items as $item) {
echo $item->getTitle();