diff options
Diffstat (limited to 'templates/sidebar_home.inc.php')
-rw-r--r-- | templates/sidebar_home.inc.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/sidebar_home.inc.php b/templates/sidebar_home.inc.php index 3593fb50..b4fd1ec8 100644 --- a/templates/sidebar_home.inc.php +++ b/templates/sidebar_home.inc.php @@ -25,8 +25,10 @@ $ajax_info = Config::get('ajax_url'); $web_path = Config::get('web_path'); <li><h4><?php echo _('Browse'); ?></h4> <?php // Build the selected dealie - $text = scrub_in($_REQUEST['action']) . '_ac'; - ${$text} = ' selected="selected"'; + if (isset($_REQUEST['action'])) { + $text = scrub_in($_REQUEST['action']) . '_ac'; + ${$text} = ' selected="selected"'; + } ?> <ul class="sb3" id="sb_browse_bb"> <li id="sb_browse_bb_SongTitle"><a href="<?php echo $web_path; ?>/browse.php?action=song"><?php echo _('Song Titles'); ?></a></li> |