diff options
Diffstat (limited to 'preferences.php')
-rw-r--r-- | preferences.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/preferences.php b/preferences.php index ed843b4d..fde2f491 100644 --- a/preferences.php +++ b/preferences.php @@ -21,9 +21,6 @@ require 'lib/init.php'; -/* Scrub in the needed mojo */ -if (!$_REQUEST['tab']) { $_REQUEST['tab'] = 'interface'; } - // Switch on the action switch($_REQUEST['action']) { case 'update_preferences': @@ -36,6 +33,7 @@ switch($_REQUEST['action']) { if ($_REQUEST['method'] == 'admin') { $user_id = '-1'; $fullname = _('Server'); + $_REQUEST['action'] = 'admin'; } elseif ($_REQUEST['method'] == 'user') { $user_id = $_REQUEST['user_id']; |