X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Ffilters%2Foptions.php;h=ee65e38d78264fbb331bb0b6d120cbba20c0c319;hp=96898e506a23a99888cefc790503c661a71f30f6;hb=353d074afac6827c90f4bb03e846c5e453d3b5b1;hpb=79ba18dc89b1b096ecdf0b77169d57e0caf661db diff --git a/plugins/filters/options.php b/plugins/filters/options.php index 96898e50..ee65e38d 100644 --- a/plugins/filters/options.php +++ b/plugins/filters/options.php @@ -3,7 +3,7 @@ /** * Message and Spam Filter Plugin - Filtering Options * - * @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 plugins @@ -25,6 +25,7 @@ sqgetGlobalVar('delimiter', $delimiter, SQ_SESSION); sqgetGlobalVar('theid', $theid); sqgetGlobalVar('action', $action, SQ_GET); +global $imap_stream_options; // in case not defined in config if (sqgetGlobalVar('filter_submit',$filter_submit,SQ_POST)) { @@ -125,7 +126,7 @@ if (sqgetGlobalVar('filter_submit',$filter_submit,SQ_POST)) { if (isset($action) && ($action == 'add' || $action == 'edit')) { - $imapConnection = sqimap_login($username, false, $imapServerAddress, $imapPort, 0); + $imapConnection = sqimap_login($username, false, $imapServerAddress, $imapPort, 0, $imap_stream_options); $boxes = sqimap_mailbox_list($imapConnection); for ($a = 0, $cnt = count($boxes); $a < $cnt; $a++) {