diff options
author | Andrew Dolgov <[email protected]> | 2013-04-27 12:29:42 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-27 12:29:42 +0400 |
commit | 38a8c22b9e24609c9067ba20a8693c363e1c7a6e (patch) | |
tree | 73d5403816ea551655038deb134ca7f8e8cab592 | |
parent | 2c8eed5395caf0d44acd3520a42832d94655b7bc (diff) |
getHeadlines: return feed title for non-virtual feeds
-rw-r--r-- | classes/api.php | 3 |
1 files changed, 2 insertions, 1 deletions
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"]; |