summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f43cb97)
raw | patch | inline | side by side (parent: f43cb97)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 30 Jun 2006 04:01:41 +0000 (04:01 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 30 Jun 2006 04:01:41 +0000 (04:01 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@3999 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/personal/mail/class_mailAccount.inc | patch | blob | history |
diff --git a/plugins/personal/mail/class_mailAccount.inc b/plugins/personal/mail/class_mailAccount.inc
index bff7beeb0397a48690f7a5d1a423d8b8a2cdf9d8..ffaabee6e356adec5254b5099028196cefcfd510 100644 (file)
/* Adapt attributes if needed */
$method->fixAttributesOnLoad($this);
+
+ /* FixAttributesOnLoad possibly creates an array out of gosaMailServer.
+ If the mail tab wasn't opened once before saving, the account can't be saved */
+ if(is_array($this->gosaMailServer)){
+ $this->gosaMailServer = $this->gosaMailServer[0];
+ }
+
if ($method->connect($this->attrs["gosaMailServer"][0])){
/* Update quota values */