- update_user_display_prefs($_POST['user_id'],
- user_price_dec(), user_qty_dec(), user_exrate_dec(),
- user_percent_dec(), user_show_gl_info(), user_show_codes(),
- user_date_format(), user_date_sep(), user_tho_sep(),
- user_dec_sep(), user_theme(), user_pagesize(), user_hints(),
- $_POST['profile'], check_value('rep_popup'), user_query_size(),
- user_graphic_links(), $_POST['language']);
+ $prefs = $_SESSION['wa_current_user']->prefs->get_all();
+
+ update_user_prefs($id, array_merge($prefs, get_post(array('print_profile',
+ 'rep_popup' => 0, 'language'))));