diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-07-02 23:39:19 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-07-02 23:39:19 -0400 |
commit | 72c730bf5fb21f58589a836483585dabd6866520 (patch) | |
tree | a57dab8dcf88ce5a4f1172ba89663aa52947fdb8 /lib/feed.php | |
parent | f8f6fd3d778fe95bac15e52747ff5b1f6461c136 (diff) |
button to add feed; selection of a feed
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; } |