From 766a2d8d2ae3d1fafed65c745bf44924b8e43deb Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 13 Feb 2006 09:12:13 +0000 Subject: [PATCH] Fixed mailtab, to work with new cleanup method git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2668 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/mail/class_mailAccount.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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]); -- 2.30.2