* Displays the options page. Pulls from proper user preference files
* and config.php. Displays preferences as selected and other options.
*
- * @copyright 1999-2013 The SquirrelMail Project Team
+ * @copyright 1999-2024 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
/* Special case: need to make sure emailaddress
* is saved if we use it as a test for ask_user_info */
global $ask_user_info;
- if ( $optpage = SMOPT_PAGE_PERSONAL && $ask_user_info &&
+ if ( $optpage == SMOPT_PAGE_PERSONAL && $ask_user_info &&
$option->name == 'email_address' ) {
$option->setValue('');
}
$submit_name = 'submit_order';
break;
default:
- $bottom_hook_name = '';
+ $bottom_hook_name = 'options_generic_bottom';
$submit_name = 'submit';
}