Code

Fixed undefined index in sieve authentification method detection
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 18 Jun 2009 13:31:14 +0000 (13:31 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 18 Jun 2009 13:31:14 +0000 (13:31 +0000)
-

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

index 0aae65def1f372d3ca420331dc97c06f7dd4d758..ed3eafd096e73338f13f5c8be5a165f9d7436fe4 100644 (file)
@@ -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;