getHeadlines: return feed title for non-virtual feeds

This commit is contained in:
Andrew Dolgov 2013-04-27 12:29:42 +04:00
parent 2c8eed5395
commit 38a8c22b9e

View file

@ -685,7 +685,8 @@ class API extends Handler {
$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_link"] = $line["comments"];