mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
killed a warning in xmlrpc from the kdepim list:
HTML-formated Errors (see below) are returned instead of well formed XML. Is this already solved in a later Version of eGroupware or is this a special setting that causes this behaviour ? kontact: ERROR: Result: <br /> <b>Warning</b>: Invalid argument supplied for foreach() in <b>/home/httpd/localhost/htdocs/egroupware/addressbook/inc/c lass.boaddressbook.inc.php</b> on line <b>392</b><br />
This commit is contained in:
parent
05a7e6de3a
commit
19cbdcec1d
@ -389,9 +389,13 @@
|
||||
{
|
||||
// $account is a group
|
||||
unset($accounts[$key]);
|
||||
foreach($GLOBALS['phpgw']->accounts->member($account) as $member)
|
||||
$members = $GLOBALS['phpgw']->accounts->member($account);
|
||||
if (is_array($members))
|
||||
{
|
||||
$accounts[] = $member['account_id'];
|
||||
foreach($members as $member)
|
||||
{
|
||||
$accounts[] = $member['account_id'];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user