mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
fixed not included participants which are email addresses or contacts in AS
This commit is contained in:
parent
b509c6cfbe
commit
f3402daf91
@ -776,8 +776,8 @@ class calendar_activesync implements activesync_plugin_write
|
||||
}
|
||||
else
|
||||
{
|
||||
list($info) = $this->calendar->resources[$uid[0]]['info'] ?
|
||||
ExecMethod($this->resources[$uid[0]]['info'],substr($uid,1)) : array(false);
|
||||
list($info) = $i = $this->calendar->resources[$uid[0]]['info'] ?
|
||||
ExecMethod($this->calendar->resources[$uid[0]]['info'],substr($uid,1)) : array(false);
|
||||
|
||||
if (!$info) continue;
|
||||
|
||||
|
@ -252,7 +252,7 @@ class calendar_bo
|
||||
if (!$ids) return null;
|
||||
|
||||
$data = array();
|
||||
foreach(!is_array($ids) ? array($ids) : $ids as $id)
|
||||
foreach((array)$ids as $id)
|
||||
{
|
||||
$email = $id;
|
||||
$name = '';
|
||||
@ -268,7 +268,7 @@ class calendar_bo
|
||||
'name' => $name,
|
||||
);
|
||||
}
|
||||
//echo "<p>email_info(".print_r($ids,true).")="; _debug_array($data);
|
||||
//error_log(__METHOD__.'('.array2string($ids).')='.array2string($data).' '.function_backtrace());
|
||||
return $data;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user