X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Ffolders.php;h=e0aab0643ae44be00259b0451bd3c507723834a3;hp=6f81d60a89d1f540ace3e0c8aac010966fedfb4d;hb=353d074afac6827c90f4bb03e846c5e453d3b5b1;hpb=79ba18dc89b1b096ecdf0b77169d57e0caf661db diff --git a/src/folders.php b/src/folders.php index 6f81d60a..e0aab064 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-2013 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 @@ -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) ) {