summaryrefslogtreecommitdiffstats
path: root/stats.php
diff options
context:
space:
mode:
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']);