summaryrefslogtreecommitdiffstats
path: root/db/item.php
diff options
context:
space:
mode:
Diffstat (limited to 'db/item.php')
-rw-r--r--db/item.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/db/item.php b/db/item.php
index d7546bcd2..403f35b35 100644
--- a/db/item.php
+++ b/db/item.php
@@ -41,6 +41,10 @@ class Item extends Entity {
public $status;
public $feedTitle;
+ public function __construct(){
+ parent::__construct('news_items');
+ }
+
public function setRead() {
$this->markFieldUpdated('status');
$this->status &= ~StatusFlag::UNREAD;