mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +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,12 +389,16 @@
|
||||
{
|
||||
// $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))
|
||||
{
|
||||
foreach($members as $member)
|
||||
{
|
||||
$accounts[] = $member['account_id'];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if ($type != 'all')
|
||||
{
|
||||
$accounts = array_unique($accounts); // remove doubles
|
||||
|
Loading…
Reference in New Issue
Block a user