summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--stats.php2
-rw-r--r--templates/sidebar_home.inc.php5
2 files changed, 1 insertions, 6 deletions
diff --git a/stats.php b/stats.php
index 63fa4f3a..e10bd0a4 100644
--- a/stats.php
+++ b/stats.php
@@ -54,7 +54,7 @@ switch ($_REQUEST['action']) {
$favorite_artists = $working_user->get_favorites('artist');
$favorite_albums = $working_user->get_favorites('album');
$favorite_songs = $working_user->get_favorites('song');
-
+break;
require_once Config::get('prefix') . '/templates/show_user_stats.inc.php';
// Onlu do this is ratings are on
diff --git a/templates/sidebar_home.inc.php b/templates/sidebar_home.inc.php
index d980075a..009cee23 100644
--- a/templates/sidebar_home.inc.php
+++ b/templates/sidebar_home.inc.php
@@ -6,9 +6,4 @@
<li id="sb_home_info_AddStationRadio"><a href="<?php echo $web_path; ?>/radio.php?action=show_create"><?php echo _('Add Radio Station'); ?></a></li>
</ul>
</li>
- <li><?php echo _('Playlists'); ?>
- <ul class="sb3" id="sb_home_playlists">
- <li id="sb_home_playlists_ViewAll"><a id="sb_ViewAll" href="<?php echo $web_path; ?>/playlist.php?action=show_all"><?php echo _('View All'); ?></a></li>
- </ul>
- </li>
</ul>