]> git.wh0rd.org - tt-rss.git/blobdiff - classes/api.php
API: getHeadlines: return feed_id for Archived entries as 0 instead of null to be...
[tt-rss.git] / classes / api.php
index 58fccdfeafca3125a86a61c2e61f6bbbde5afa21..e505dcc915dd90f5d09feaab07d62da51970091b 100755 (executable)
@@ -755,7 +755,7 @@ class API extends Handler {
                                                "is_updated" => $is_updated,
                                                "title" => $line["title"],
                                                "link" => $line["link"],
-                                               "feed_id" => $line["feed_id"],
+                                               "feed_id" => $line["feed_id"] ? $line['feed_id'] : 0,
                                                "tags" => $tags,
                                        );