Code

Fixed spelling of several properties and added missing ones
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 May 2010 08:45:55 +0000 (08:45 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 May 2010 08:45:55 +0000 (08:45 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18344 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/ogroups/tabs_ogroups.inc

index a37b9b8acf1312bc54678a6becf2195c1843abf3..91e51f8d550db973aa46b20bac13fe8aa26f79ed 100644 (file)
@@ -146,7 +146,7 @@ class ogrouptabs extends tabs
         /* Add mail group tab , if there is curerntly no mail tab defined */ 
         if(class_available("mailogroup")){
             if((preg_match("/U/",$objects))&&(!isset($this->by_object['mailogroup']))){
-                if ($this->config->get_cfg_value("core","mailmethod") == "kolab"){
+                if (preg_match("/olab/i",$this->config->get_cfg_value("core","mailMethod"))){
                     $this->by_name['mailogroup']= _("Mail");
                     $this->by_object['mailogroup']= new mailogroup($this->config, $this->dn);
                     $this->by_object['mailogroup']->parent= &$this;