X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fview_html.php;h=5f1724096f926aab3c7aaeab467e4baae3c6eb65;hb=617a4d89ef9d9761d4472e27871438ff132e2f05;hp=12e82d2a3bc520ae19530bba535363700b9cf3f3;hpb=c0d968010e710870fdfee2f22d7cc9fad370c7a9;p=squirrelmail.git diff --git a/src/view_html.php b/src/view_html.php index 12e82d2a..5f172409 100644 --- a/src/view_html.php +++ b/src/view_html.php @@ -10,7 +10,7 @@ * optional. User must be authenticated ($key in cookie. $username and * $onetimepad in session). * - * @copyright 1999-2012 The SquirrelMail Project Team + * @copyright 1999-2014 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail @@ -38,7 +38,8 @@ sqgetGlobalVar('passed_id', $passed_id, SQ_GET, NULL, SQ_TYPE_BIGINT); // TODO: add required var checks here. -$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); $mbx_response = sqimap_mailbox_select($imap_stream, $mailbox); $message = &$messages[$mbx_response['UIDVALIDITY']][$passed_id];