Issue-4845: Merged in branch 'gsoc11_benj' for the enhanced mobile theme.
[atutor.git] / docs / themes / default / users / preferences.tmpl.php
index dadc776..abdcfbc 100644 (file)
@@ -16,8 +16,8 @@ for ($i=0; $i < $num_tabs; $i++)
        }
 }
 
-if (!$switch_tab && isset($_POST['current_tab'])) {
-       $current_tab = intval($_POST['current_tab']);
+if (!$switch_tab && isset($_REQUEST['current_tab'])) {
+       $current_tab = intval($_REQUEST['current_tab']);
 }
 
 if ($current_tab == 1)