From: hzerres Date: Mon, 22 Nov 2010 15:03:21 +0000 (+0000) Subject: (groupware) repaired forwarding addresses / alternatives are fixed too. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=be9e1b7314c16f74a1b0cf77248e5dbc6798491b;p=gosa.git (groupware) repaired forwarding addresses / alternatives are fixed too. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20324 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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"];