From 38a8c22b9e24609c9067ba20a8693c363e1c7a6e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 27 Apr 2013 12:29:42 +0400 Subject: [PATCH] getHeadlines: return feed title for non-virtual feeds --- classes/api.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/classes/api.php b/classes/api.php index 2e243d025..badd0b564 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"];