From e4c7779ac5b37e21043135b894eaf5edf9676139 Mon Sep 17 00:00:00 2001 From: alec Date: Mon, 19 Sep 2011 12:34:01 +0000 Subject: - Allow setting connection options in imap_connect hook git-svn-id: https://svn.roundcube.net/trunk@5240 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/include/rcube_imap_generic.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roundcubemail/program/include/rcube_imap_generic.php') diff --git a/roundcubemail/program/include/rcube_imap_generic.php b/roundcubemail/program/include/rcube_imap_generic.php index 55eb8fa42..8b99da486 100644 --- a/roundcubemail/program/include/rcube_imap_generic.php +++ b/roundcubemail/program/include/rcube_imap_generic.php @@ -672,8 +672,8 @@ class rcube_imap_generic $this->prefs = $options; } // set auth method - if (!empty($this->prefs['auth_method'])) { - $auth_method = strtoupper($this->prefs['auth_method']); + if (!empty($this->prefs['auth_type'])) { + $auth_method = strtoupper($this->prefs['auth_type']); } else { $auth_method = 'CHECK'; } -- cgit v1.2.3