From 72c730bf5fb21f58589a836483585dabd6866520 Mon Sep 17 00:00:00 2001 From: Alessandro Cosentino Date: Mon, 2 Jul 2012 23:39:19 -0400 Subject: button to add feed; selection of a feed --- lib/feed.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/feed.php') 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; } -- cgit v1.2.3