Code

Synced with latest changes of LHS
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 9 Nov 2006 09:28:33 +0000 (09:28 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 9 Nov 2006 09:28:33 +0000 (09:28 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5060 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/mail/class_mailAccount.inc

index a99d89f09abb70358aa0cd7c6c60e73c0f94135a..a05356e81b4ec3775c71e828886083300e224174 100644 (file)
@@ -978,9 +978,18 @@ class mailAccount extends plugin
     if(isset($_POST['mail'])){
       $this->mail = $_POST['mail'];
     }
+  }
+
+   
+  function PrepareForCopyPaste($source)
+  {
+    plugin::PrepareForCopyPaste($source);
 
+    /* Reset alternate mail addresses */
+    $this->gosaMailAlternateAddress = array();    
   }
 
+
   function allow_remove()
   {
     if (isset($this->config->current['MAILMETHOD'])){