Code

Fixed problem with mail server detection
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 14 Mar 2011 12:30:06 +0000 (12:30 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 14 Mar 2011 12:30:06 +0000 (12:30 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20622 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_config.inc

index ad4d2fc7cb21fb67596d168c141053d2477d548d..03d4904f519b5a0be1e5750b695e7a52221bcbec 100644 (file)
@@ -462,7 +462,7 @@ class config  {
         /* Search mailMethod konfiguration in main section too 
          */
         $tmp = $this->get_cfg_value("core","mailMethod");
-        if ($tmp){
+        if ($tmp == ""){
             $ldap->search ("(objectClass=goMailServer)", array('cn'));
             $this->data['SERVERS']['IMAP']= array();
             while ($attrs= $ldap->fetch()){