X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fleft_main.php;h=b54183bfb09374bc46abedd3bf484f7a71321cbc;hb=f197ec8835b64975ff47dc6cd86dae75605baebf;hp=13e94ee7c7cfbb45785be1addcafb5bfa732a41a;hpb=30460a05016c7e066ad7b28df7788539e4054a99;p=squirrelmail.git diff --git a/src/left_main.php b/src/left_main.php index 13e94ee7..b54183bf 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-2016 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 = ''; }