X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Foptions.php;h=0d320b21030de7769925de18718df578f9761c7e;hp=abf7e7607b8d8c0dc41bc57e4075d82d3b1d58fa;hb=24e8917ead46268f6a4264900c832b4a5c37ee84;hpb=cffe28e2d322c2cdd46f8710caad67a00d9a2e71 diff --git a/src/options.php b/src/options.php index abf7e760..0d320b21 100644 --- a/src/options.php +++ b/src/options.php @@ -6,7 +6,7 @@ * Displays the options page. Pulls from proper user preference files * and config.php. Displays preferences as selected and other options. * - * @copyright © 1999-2009 The SquirrelMail Project Team + * @copyright 1999-2020 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail @@ -203,7 +203,7 @@ if ( !@is_file( $optpage_file ) ) { // security check before saving anything... //FIXME: what about SMOPT_MODE_LINK?? if ($optmode == SMOPT_MODE_SUBMIT) { - sm_validate_security_token($submitted_token, 3600, TRUE); + sm_validate_security_token($submitted_token, -1, TRUE); } $optpage_save_error=array(); @@ -466,7 +466,7 @@ if ($optpage == SMOPT_PAGE_MAIN) { $submit_name = 'submit_order'; break; default: - $bottom_hook_name = ''; + $bottom_hook_name = 'options_generic_bottom'; $submit_name = 'submit'; }