mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-16 02:25:57 +00:00
fix headlines subtoolbar not being inserted for feeds with 0 headlines breaking various JS stuff expecting it
This commit is contained in:
@@ -237,15 +237,10 @@ class Feeds extends Handler_Protected {
|
|||||||
|
|
||||||
$vgroup_last_feed = $vgr_last_feed;
|
$vgroup_last_feed = $vgr_last_feed;
|
||||||
|
|
||||||
// if (!$offset) {
|
$reply['toolbar'] = $this->format_headline_subtoolbar($feed_site_url,
|
||||||
|
$feed_title,
|
||||||
if (db_num_rows($result) > 0) {
|
$feed, $cat_view, $search, $match_on, $search_mode, $view_mode,
|
||||||
$reply['toolbar'] = $this->format_headline_subtoolbar($feed_site_url,
|
$last_error);
|
||||||
$feed_title,
|
|
||||||
$feed, $cat_view, $search, $match_on, $search_mode, $view_mode,
|
|
||||||
$last_error);
|
|
||||||
}
|
|
||||||
// }
|
|
||||||
|
|
||||||
$headlines_count = db_num_rows($result);
|
$headlines_count = db_num_rows($result);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user