diff options
Diffstat (limited to 'lib/feed.php')
-rw-r--r-- | lib/feed.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/feed.php b/lib/feed.php index 281a968f0..bbed8d598 100644 --- a/lib/feed.php +++ b/lib/feed.php @@ -24,10 +24,10 @@ class OC_News_Feed extends OC_News_Collection { $this->title = $title; $this->items = $items; if ($id !== null){ - $this->id = $id; + parent::__construct($id); } } - + public function getUrl(){ return $this->url; } |