aboutsummaryrefslogtreecommitdiffstats
path: root/include/user.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/user.inc.php18
1 files changed, 11 insertions, 7 deletions
diff --git a/include/user.inc.php b/include/user.inc.php
index 6e5e0c8ed..b388943c0 100644
--- a/include/user.inc.php
+++ b/include/user.inc.php
@@ -26,13 +26,17 @@
// +-----------------------------------------------------------------------+
// Dynamic change of language with database persistency
-if (isset($_POST['language']))
-{
- $query = "UPDATE ".USERS_TABLE." SET language = '";
- $query.= $_POST['language'];
- $query.= "' WHERE id = ".$_POST['userid'].";";
- pwg_query($query);
-}
+//
+// FIXME : ce bout de code fait planter l'assignation d'un language a
+// plusieurs users simultanement dans la nouvelle page admin/user_list.php
+//
+// if (isset($_POST['language']))
+// {
+// $query = "UPDATE ".USERS_TABLE." SET language = '";
+// $query.= $_POST['language'];
+// $query.= "' WHERE id = ".$_POST['userid'].";";
+// pwg_query($query);
+// }
// retrieving connected user informations