From be9e1b7314c16f74a1b0cf77248e5dbc6798491b Mon Sep 17 00:00:00 2001 From: hzerres Date: Mon, 22 Nov 2010 15:03:21 +0000 Subject: [PATCH] (groupware) repaired forwarding addresses / alternatives are fixed too. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20324 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../groupware/personal/groupware/class_GroupwareDao.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gosa-plugins/groupware/personal/groupware/class_GroupwareDao.inc b/gosa-plugins/groupware/personal/groupware/class_GroupwareDao.inc index 965885324..338ef6e3e 100644 --- a/gosa-plugins/groupware/personal/groupware/class_GroupwareDao.inc +++ b/gosa-plugins/groupware/personal/groupware/class_GroupwareDao.inc @@ -204,7 +204,9 @@ class GroupwareDao{ $comp = $this->get("comprehensiveUser", array($uid)); $resultArr["primaryMail"] = $comp["primaryMail"]; $resultArr["alternateAddresses"] = $comp["alternateAddresses"]; - $resultArr["forwardingAddresses"] = $comp["forwardingAddresses"]; + + $resultArr["forwardingAddresses"] = array(key($comp["forwardingAddresses"])); + var_dump($resultArr["forwardingAddresses"]); $resultArr["mailLocation"] = $comp["mailLocation"]; //Quota things. $resultArr["quotaSize"] = $comp["quota"]["usage"]; -- 2.30.2