From a186bdddbad53d45d9765be9525c265fda356f08 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 18 Jun 2009 13:31:14 +0000 Subject: [PATCH] Fixed undefined index in sieve authentification method detection - git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13730 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/mail/personal/mail/sieve/class_sieve.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2