Code

removed defaults from get_cfg_value and added some missing properties.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 May 2010 07:42:02 +0000 (07:42 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 May 2010 07:42:02 +0000 (07:42 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18329 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/mail/personal/mail/class_mail-methods.inc

index 0f102b3b2cf66f134dd50d838e5837aa9feec8bd..da4e66206433eaf719f2da3de15fa57d69ec2bfe 100644 (file)
@@ -131,7 +131,7 @@ class mailMethod{
     /* Check if the mail account identification attribute
        is overridden in the configuration file
      */
-    if($this->config->get_cfg_value("core","mailAttribute","mail") != ""){
+    if($this->config->get_cfg_value("core","mailAttribute") != ""){
       $new_uattrib= strtolower($this->config->get_cfg_value("core","mailAttribute"));
       if(in_array($new_uattrib,array("mail","uid"))){
         $this->uattrib = $new_uattrib;