From: hickert Date: Mon, 13 Feb 2006 09:12:13 +0000 (+0000) Subject: Fixed mailtab, to work with new cleanup method X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=766a2d8d2ae3d1fafed65c745bf44924b8e43deb;p=gosa.git Fixed mailtab, to work with new cleanup method git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2668 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/mail/class_mailAccount.inc b/plugins/personal/mail/class_mailAccount.inc index 25e866bc9..5b5098e50 100644 --- a/plugins/personal/mail/class_mailAccount.inc +++ b/plugins/personal/mail/class_mailAccount.inc @@ -54,8 +54,8 @@ class mailAccount extends plugin "lrswipcd" => "write", "lrswipcda" => "all" ); /* attribute list for save action */ - var $attributes= array("mail", "gosaMailServer", "gosaMailQuota", "gosaMailMaxSize", - "gosaMailDeliveryMode", "gosaSpamSortLevel", "gosaSpamMailbox", + var $attributes= array("mail", "gosaMailServer", "gosaMailQuota", "gosaMailMaxSize","gosaMailForwardingAddress", + "gosaMailDeliveryMode", "gosaSpamSortLevel", "gosaSpamMailbox","gosaMailAlternateAddress", "gosaVacationMessage", "uid"); var $objectclasses= array("gosaMailAccount"); @@ -92,6 +92,7 @@ class mailAccount extends plugin /* Load attributes containing arrays */ foreach (array("gosaMailAlternateAddress", "gosaMailForwardingAddress") as $val){ + $this->$val = array(); if (isset($this->attrs["$val"]["count"])){ for ($i= 0; $i<$this->attrs["$val"]["count"]; $i++){ array_push($this->$val, $this->attrs["$val"][$i]);