getHeadlines: return feed title for non-virtual feeds
This commit is contained in:
parent
2c8eed5395
commit
38a8c22b9e
|
@ -685,7 +685,8 @@ class API extends Handler {
|
||||||
|
|
||||||
$headline_row["labels"] = $labels;
|
$headline_row["labels"] = $labels;
|
||||||
|
|
||||||
$headline_row["feed_title"] = $line["feed_title"];
|
$headline_row["feed_title"] = $line["feed_title"] ? $line["feed_title"] :
|
||||||
|
$feed_title;
|
||||||
|
|
||||||
$headline_row["comments_count"] = (int)$line["num_comments"];
|
$headline_row["comments_count"] = (int)$line["num_comments"];
|
||||||
$headline_row["comments_link"] = $line["comments"];
|
$headline_row["comments_link"] = $line["comments"];
|
||||||
|
|
Loading…
Reference in New Issue