mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
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:
+10
-1
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user