From 598212252c0e53a2d0c083a409ecfa72ccec4e34 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Mon, 02 Nov 2009 02:37:06 -0500
Subject: [PATCH] - Fix imap_auth_type regression (#1486263)

---
 program/lib/imap.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/lib/imap.inc b/program/lib/imap.inc
index 9d896ff..964d12d 100644
--- a/program/lib/imap.inc
+++ b/program/lib/imap.inc
@@ -554,7 +554,7 @@
 	// 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;

--
Gitblit v1.9.1