From: Andrew Dolgov Date: Sat, 27 Apr 2013 08:29:42 +0000 (+0400) Subject: getHeadlines: return feed title for non-virtual feeds X-Git-Tag: 1.7.9~25^2~70 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=38a8c22b9e24609c9067ba20a8693c363e1c7a6e;p=tt-rss.git getHeadlines: return feed title for non-virtual feeds --- diff --git a/classes/api.php b/classes/api.php index 2e243d02..badd0b56 100644 --- a/classes/api.php +++ b/classes/api.php @@ -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"];