summaryrefslogtreecommitdiff
path: root/program/lib
diff options
context:
space:
mode:
Diffstat (limited to 'program/lib')
-rw-r--r--program/lib/imap.inc2
1 files changed, 1 insertions, 1 deletions
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;