X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=blobdiff_plain;f=admin%2Fdisplay_prefs.php;h=243ddea965f849cf847a69930e8c4d6572f0bd19;hp=e686a81a59ff4d6f1dc493d77a524cb78a3d9a17;hb=2bcdab793e406bb5a44d2c4e079ec7cc2a1aa857;hpb=85cdc977a80b32727c13aae517f58437e908a033 diff --git a/admin/display_prefs.php b/admin/display_prefs.php index e686a81a..243ddea9 100644 --- a/admin/display_prefs.php +++ b/admin/display_prefs.php @@ -40,10 +40,12 @@ if (isset($_POST['setprefs'])) array('prices_dec', 'qty_dec', 'rates_dec', 'percent_dec', 'date_format', 'date_sep', 'tho_sep', 'dec_sep', 'print_profile', 'theme', 'page_size', 'language', 'startup_tab', - 'show_gl' => 0, 'show_codes'=> 0, 'show_hints' => 0, - 'rep_popup' => 0, 'graphic_links' => 0, 'sticky_doc_date' => 0, 'query_size' => 10.0, 'transaction_days' => 30, 'save_report_selections' => 0, - 'use_date_picker' => 0, 'def_print_destination' => 0, 'def_print_orientation' => 0))); + 'def_print_destination' => 0, 'def_print_orientation' => 0))); + + set_user_prefs(check_value( + array( 'show_gl', 'show_codes', 'show_hints', 'rep_popup', + 'graphic_links', 'sticky_doc_date', 'use_date_picker'))); if ($chg_lang) $_SESSION['language']->set_language($_POST['language']);