summaryrefslogtreecommitdiffstats
path: root/templates/sidebar_home.inc.php
diff options
context:
space:
mode:
authorPaul 'flowerysong' Arthur <flowerysong00@yahoo.com>2010-06-13 08:11:09 +0000
committerPaul 'flowerysong' Arthur <flowerysong00@yahoo.com>2010-06-13 08:11:09 +0000
commit4b5756ba9d8ee9e83c1ba4624b461b4746e49e82 (patch)
tree2e46772da9d25197fd847b273ca1f9b882ad3e34 /templates/sidebar_home.inc.php
parent93f4a26ab07207e1f9a8e716a82c5d8812d5344c (diff)
downloadampache-4b5756ba9d8ee9e83c1ba4624b461b4746e49e82.tar.gz
ampache-4b5756ba9d8ee9e83c1ba4624b461b4746e49e82.tar.bz2
ampache-4b5756ba9d8ee9e83c1ba4624b461b4746e49e82.zip
Miscellaneous cleanup.
Diffstat (limited to 'templates/sidebar_home.inc.php')
-rw-r--r--templates/sidebar_home.inc.php6
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>