From 598212252c0e53a2d0c083a409ecfa72ccec4e34 Mon Sep 17 00:00:00 2001 From: alecpl Date: Mon, 2 Nov 2009 07:37:06 +0000 Subject: - Fix imap_auth_type regression (#1486263) --- program/lib/imap.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program') diff --git a/program/lib/imap.inc b/program/lib/imap.inc index 9d896ffe0..964d12d99 100644 --- a/program/lib/imap.inc +++ b/program/lib/imap.inc @@ -554,7 +554,7 @@ function iil_Connect($host, $user, $password, $options=null) { // set some imap options if (is_array($options)) { foreach($options as $optkey => $optval) { - if ($optkey == 'imap') { + if ($optkey == 'auth_method') { $auth_method = strtoupper($optval); } else if ($optkey == 'rootdir') { $my_prefs['rootdir'] = $optval; -- cgit v1.2.3