X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Ffolders.php;h=92c2d2ead1282a745f1c7278625b8ee53c8fa599;hb=041d360b6d4e68428aa55fdc08940938535886f9;hp=28a8302c839752095fcd9a0e1dd2ea8a3ee5bbab;hpb=2cefa62ab30cc730b8683ee47ec69728ab89d773;p=squirrelmail.git diff --git a/src/folders.php b/src/folders.php index 28a8302c..92c2d2ea 100644 --- a/src/folders.php +++ b/src/folders.php @@ -6,7 +6,7 @@ * scripts which do most of the work. Also handles the Special * Folders. * - * @copyright 1999-2012 The SquirrelMail Project Team + * @copyright 1999-2017 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail @@ -34,7 +34,8 @@ sqgetGlobalVar('smtoken', $submitted_token, SQ_POST, ''); /* end of get globals */ -$imapConnection = sqimap_login ($username, false, $imapServerAddress, $imapPort, 0); +global $imap_stream_options; // in case not defined in config +$imapConnection = sqimap_login ($username, false, $imapServerAddress, $imapPort, 0, $imap_stream_options); /* switch to the right function based on what the user selected */ if ( sqgetGlobalVar('smaction', $action, SQ_POST) ) {