1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-28 10:21:29 +00:00

print_feed_cat_select: display nested category structure

fix empty sub-sub-categories never being shown
This commit is contained in:
Andrew Dolgov
2012-08-14 23:18:40 +04:00
parent a26f57e63a
commit fbf85cf646
2 changed files with 45 additions and 28 deletions

View File

@@ -33,6 +33,8 @@ class Pref_Feeds extends Protected_Handler {
}
private function get_category_items($cat_id) {
$show_empty_cats = $_REQUEST['mode'] != 2 &&
get_pref($this->link, '_PREFS_SHOW_EMPTY_CATS');
$items = array();