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
1 changed files with 2 additions and 1 deletions

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"];