From: hickert Date: Thu, 18 Jun 2009 13:31:14 +0000 (+0000) Subject: Fixed undefined index in sieve authentification method detection X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a186bdddbad53d45d9765be9525c265fda356f08;p=gosa.git Fixed undefined index in sieve authentification method detection - git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13730 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/mail/personal/mail/sieve/class_sieve.inc b/gosa-plugins/mail/personal/mail/sieve/class_sieve.inc index 0aae65def..ed3eafd09 100644 --- a/gosa-plugins/mail/personal/mail/sieve/class_sieve.inc +++ b/gosa-plugins/mail/personal/mail/sieve/class_sieve.inc @@ -376,7 +376,7 @@ class sieve /* Loop through each allowed authentication type and see if the server allows the type */ foreach(split(" ",$this->auth_types) as $auth_type) { - if ($this->capabilities["auth"][$auth_type]) + if (isset($this->capabilities["auth"][$auth_type])) { /* We found an auth type that is allowed. */ $this->auth_in_use = $auth_type;