fsf changes, meant to be rebased on upstream
[squirrelmail.git] / plugins / info / options.php
index 91adbd9c84d5a323cdc522fb58615e5c1b004ef5..645271afa64f80ba570c5e880f7141739170abfb 100644 (file)
@@ -6,7 +6,7 @@
  * This is where it all happens :)
  *
  * @author Jason Munro <jason at stdbev.com>
- * @copyright 1999-2013 The SquirrelMail Project Team
+ * @copyright 1999-2022 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',