Code

Update groupMail check() method
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 7 May 2009 08:18:26 +0000 (08:18 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 7 May 2009 08:18:26 +0000 (08:18 +0000)
-Fixed potential error message for missing $mail variable

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13630 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/mail/admin/groups/mail/class_groupMail.inc

index 027fd83498fea4637716dffabd8ba0cc3456614d..9eb683c7408dfa1affc5323595988dc69e1ca340 100644 (file)
@@ -829,8 +829,8 @@ class mailgroup extends plugin
     }
 
     /* Mail address checks */
+    $mail = $this->mail;
     if(!(!$this->mailMethod->isModifyableMail() && $this->initially_was_account)){
-      $mail = $this->mail;
       if($this->mailMethod->domainSelectionEnabled() || $this->mailMethod->mailEqualsCN()){
         $mail.= "@".$this->mailDomainPart;
       }