summaryrefslogtreecommitdiffstats
path: root/templates/sidebar_browse.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/sidebar_browse.inc.php')
-rw-r--r--templates/sidebar_browse.inc.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/sidebar_browse.inc.php b/templates/sidebar_browse.inc.php
index 450108f9..4a51c3db 100644
--- a/templates/sidebar_browse.inc.php
+++ b/templates/sidebar_browse.inc.php
@@ -38,6 +38,7 @@ $allowed_filters = Browse::get_allowed_filters();
<li id="sb_browse_bb_RadioStation"><a href="<?php echo $web_path; ?>/browse.php?action=live_stream"><?php echo _('Radio Stations'); ?></a></li>
</ul>
</li>
+<?php if (count($allowed_filters)) { ?>
<li><h4><?php echo _('Filters'); ?></h4>
<div class="sb3">
<?php if (in_array('alpha_match',$allowed_filters)) { ?>
@@ -71,4 +72,5 @@ $allowed_filters = Browse::get_allowed_filters();
<?php } // if playlist_type ?>
</div>
</li>
+<?php } ?>
</ul>