Fix mixed use of message ID list (#2859)
[squirrelmail.git] / plugins / info / options.php
index 13328239ebf8e4bf13f5881959a73d9b75d2fdc6..5cb508402f60f7753349bcf2a1afc6b4614dfa5a 100644 (file)
@@ -6,7 +6,7 @@
  * This is where it all happens :)
  *
  * @author Jason Munro <jason at stdbev.com>
- * @copyright 1999-2012 The SquirrelMail Project Team
+ * @copyright 1999-2021 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
@@ -53,7 +53,8 @@ for($i = 0; $i <= 9; $i++){
 
 /* END GLOBALS */
 
-$imap_stream = sqimap_login($username, false, $imapServerAddress, $imapPort, 0);
+global $imap_stream_options; // in case not defined in config
+$imap_stream = sqimap_login($username, false, $imapServerAddress, $imapPort, 0, $imap_stream_options);
 $caps_array = get_caps($imap_stream);
 $list = array ('TEST_0',
                'TEST_1',