Skip to content
Snippets Groups Projects
Commit 2ab49fec authored by Andrew Dolgov's avatar Andrew Dolgov
Browse files

API: getHeadlines: return feed_id for Archived entries as 0 instead of null to...

API: getHeadlines: return feed_id for Archived entries as 0 instead of null to be consistent with requested feed_id
parent a291a0c0
No related branches found
No related tags found
1 merge request!1Update 19.2
......@@ -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,
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment