From ebbf2fd0119499b946ce492b2488b85de4d56c26 Mon Sep 17 00:00:00 2001 From: stekkel Date: Thu, 24 Oct 2002 09:26:51 +0000 Subject: [PATCH] sqimap_get_delimiter needs imap_stream git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3996 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- include/options/folder.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/options/folder.php b/include/options/folder.php index a84952b0..38f5bd13 100644 --- a/include/options/folder.php +++ b/include/options/folder.php @@ -29,7 +29,6 @@ function load_optpage_data_folder() { $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0); $boxes = sqimap_mailbox_list($imapConnection); - sqimap_logout($imapConnection); /* Build a simple array into which we will build options. */ $optgrps = array(); @@ -209,7 +208,7 @@ function load_optpage_data_folder() { $optgrps[SMOPT_GRP_FOLDERSELECT] = _("Folder Selection Options"); $optvals[SMOPT_GRP_FOLDERSELECT] = array(); - $delim = sqimap_get_delimiter(); + $delim = sqimap_get_delimiter($imapConnection); $optvals[SMOPT_GRP_FOLDERSELECT][] = array( 'name' => 'mailbox_select_style', 'caption' => _("Selection List Style"), @@ -225,6 +224,7 @@ function load_optpage_data_folder() { 'grps' => $optgrps, 'vals' => $optvals ); + sqimap_logout($imapConnection); return ($result); } -- 2.25.1