Avoid notices in some environments
[squirrelmail.git] / src / options.php
index 66cefb4ca775ac54e60e70174543cda0189b416a..45eb4d3c535be3f763061520c86a0baf465ad31c 100644 (file)
@@ -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-2010 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
@@ -105,7 +105,7 @@ function process_optionmode_link($optpage) {
 sqgetGlobalVar('optpage',     $optpage);
 sqgetGlobalVar('optmode',     $optmode,         SQ_FORM);
 sqgetGlobalVar('optpage_data',$optpage_data,    SQ_POST);
-sqgetGlobalVar('smtoken',     $submitted_token, SQ_POST, '');
+sqgetGlobalVar('smtoken',     $submitted_token, SQ_FORM, '');
 /* end of getting globals */
 
 /* Make sure we have an Option Page set. Default to main. */