summaryrefslogtreecommitdiff
path: root/program/include/rcube_imap_generic.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-09-19 12:34:01 +0000
committeralecpl <alec@alec.pl>2011-09-19 12:34:01 +0000
commite7e79470e425c75495a846435b43350f0b793bb7 (patch)
treeeef7f69d0314c6a3cb9e94cc5f98961398a852b2 /program/include/rcube_imap_generic.php
parent5d62d9af93eeac1088ccff505f04f80d3a57b36d (diff)
- Allow setting connection options in imap_connect hook
Diffstat (limited to 'program/include/rcube_imap_generic.php')
-rw-r--r--program/include/rcube_imap_generic.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcube_imap_generic.php b/program/include/rcube_imap_generic.php
index 55eb8fa42..8b99da486 100644
--- a/program/include/rcube_imap_generic.php
+++ b/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';
}