mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +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
|
else
|
||||||
{
|
{
|
||||||
list($info) = $this->calendar->resources[$uid[0]]['info'] ?
|
list($info) = $i = $this->calendar->resources[$uid[0]]['info'] ?
|
||||||
ExecMethod($this->resources[$uid[0]]['info'],substr($uid,1)) : array(false);
|
ExecMethod($this->calendar->resources[$uid[0]]['info'],substr($uid,1)) : array(false);
|
||||||
|
|
||||||
if (!$info) continue;
|
if (!$info) continue;
|
||||||
|
|
||||||
|
@ -252,7 +252,7 @@ class calendar_bo
|
|||||||
if (!$ids) return null;
|
if (!$ids) return null;
|
||||||
|
|
||||||
$data = array();
|
$data = array();
|
||||||
foreach(!is_array($ids) ? array($ids) : $ids as $id)
|
foreach((array)$ids as $id)
|
||||||
{
|
{
|
||||||
$email = $id;
|
$email = $id;
|
||||||
$name = '';
|
$name = '';
|
||||||
@ -268,7 +268,7 @@ class calendar_bo
|
|||||||
'name' => $name,
|
'name' => $name,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
//echo "<p>email_info(".print_r($ids,true).")="; _debug_array($data);
|
//error_log(__METHOD__.'('.array2string($ids).')='.array2string($data).' '.function_backtrace());
|
||||||
return $data;
|
return $data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user