Bug 99 : javascript error in profile.php

Enhancement of the radio class under IE


git-svn-id: http://piwigo.org/svn/trunk@772 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
gweltas
2005-04-26 09:46:33 +00:00
parent 60ed679b36
commit 9dc9c553d3
4 changed files with 43 additions and 31 deletions
+10 -1
View File
@@ -25,8 +25,17 @@
// | USA. |
// +-----------------------------------------------------------------------+
// retrieving connected user informations
// 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);
}
// retrieving connected user informations
if (isset($_COOKIE['id']))
{
$session_id = $_COOKIE['id'];