X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fleft_main.php;h=2ec862ce9af81a397a5cb3aea3aaa52b32cb18f2;hb=38c91156a5e1c2399527f1113ff8c66455316757;hp=13e94ee7c7cfbb45785be1addcafb5bfa732a41a;hpb=30460a05016c7e066ad7b28df7788539e4054a99;p=squirrelmail.git
diff --git a/src/left_main.php b/src/left_main.php
index 13e94ee7..2ec862ce 100644
--- a/src/left_main.php
+++ b/src/left_main.php
@@ -6,7 +6,7 @@
* This is the code for the left bar. The left bar shows the folders
* available, and has cookie information.
*
- * @copyright 1999-2009 The SquirrelMail Project Team
+ * @copyright 1999-2018 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
@@ -38,16 +38,15 @@ sqgetGlobalVar('unfold', $unfold, SQ_GET);
// open a connection on the imap port (143)
// why hide the output?
-$imapConnection = sqimap_login($username, false, $imapServerAddress, $imapPort, true);
+global $imap_stream_options; // in case not defined in config
+$imapConnection = sqimap_login($username, false, $imapServerAddress, $imapPort, true, $imap_stream_options);
/**
* Using stristr since very old preferences may contain "None" and "none".
*/
if (!empty($left_refresh) &&
!stristr($left_refresh, 'none')){
- $xtra = "\n\n" .
- "\n".
- "\n";
+ $xtra = "\n\n";
} else {
$xtra = '';
}