summaryrefslogtreecommitdiffstats
path: root/stats.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-06-04 02:45:03 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-06-04 02:45:03 +0000
commit19276f57a9eeacae7829629baa35fcb28d77419f (patch)
tree35c2d658e6cb4e3b9e1a1706e0e3d3ab8af88f0d /stats.php
parent848a1bc5388301e128cb5c2c4d8dcb5d06721bb4 (diff)
downloadampache-19276f57a9eeacae7829629baa35fcb28d77419f.tar.gz
ampache-19276f57a9eeacae7829629baa35fcb28d77419f.tar.bz2
ampache-19276f57a9eeacae7829629baa35fcb28d77419f.zip
fixed genre and artist view... mostly also fixed batch downloads
Diffstat (limited to 'stats.php')
-rw-r--r--stats.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/stats.php b/stats.php
index e4013c8d..49b486bf 100644
--- a/stats.php
+++ b/stats.php
@@ -26,10 +26,8 @@ require_once 'lib/init.php';
require_once Config::get('prefix') . '/templates/header.inc.php';
-$action = scrub_in($_REQUEST['action']);
-
/* Switch on the action to be performed */
-switch ($action) {
+switch ($_REQUEST['action']) {
case 'user_stats':
/* Get em! */
$working_user = new User($_REQUEST['user_id']);