summaryrefslogtreecommitdiffstats
path: root/db/feed.php
diff options
context:
space:
mode:
Diffstat (limited to 'db/feed.php')
-rw-r--r--db/feed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/feed.php b/db/feed.php
index 8ab772ab9..eda225302 100644
--- a/db/feed.php
+++ b/db/feed.php
@@ -25,7 +25,7 @@ class Feed extends Collection {
// if $items = null, it means that feed has not been fetched yet
// if $id = null, it means that the feed has not been stored in the db yet
- public function __construct($url, $title, $items = null, $id = null) {
+ public function __construct($url, $title = null, $items = null, $id = null) {
$this->url = $url;
$this->title = $title;
if ($items !== null) {