diff --git a/html/user_pref.php b/html/user_pref.php index a05fda0dd..9bfbdf15c 100644 --- a/html/user_pref.php +++ b/html/user_pref.php @@ -32,11 +32,11 @@ if ( isset ( $_POST['style_user']) ) { $g_UserProperty['use_theme']=$_POST['style_user']; } -// Met à jour le profil -if ( isset ( $_POST['profile_user']) ) { - $g_UserProperty['use_usertype']=$_POST['profile_user']; +// // Met à jour le profil +// if ( isset ( $_POST['profile_user']) ) { +// $g_UserProperty['use_usertype']=$_POST['profile_user']; -} +// } html_page_start($g_UserProperty['use_theme']); // clean session variable from user interface (make prob. with compta interfac) @@ -90,14 +90,14 @@ if ( isset ( $_POST['style_user']) ) { } // Met à jour le profil -if ( isset ( $_POST['profile_user']) ) { - $CnRepo=DbConnect(); - $Res=ExecSql($CnRepo, - "update ac_users set use_usertype='".$_POST['profile_user']. - "' where use_login='$g_user'"); - $g_UserProperty['use_usertype']=$_POST['profile_user']; +// if ( isset ( $_POST['profile_user']) ) { +// $CnRepo=DbConnect(); +// $Res=ExecSql($CnRepo, +// "update ac_users set use_usertype='".$_POST['profile_user']. +// "' where use_login='$g_user'"); +// $g_UserProperty['use_usertype']=$_POST['profile_user']; -} +// } ?>