mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
fixed $infolog is no array
This commit is contained in:
parent
4eeaf95eea
commit
79e51d3cb8
@ -377,7 +377,7 @@ class infolog_activesync implements activesync_plugin_write
|
||||
}
|
||||
$infolog = array();
|
||||
if (empty($id) && $this->infolog->check_access(0, EGW_ACL_EDIT, $account) ||
|
||||
($infolog = $this->infolog->read($id) && $this->infolog->check_access($infolog, EGW_ACL_EDIT)))
|
||||
($infolog = $this->infolog->read($id)) && $this->infolog->check_access($infolog, EGW_ACL_EDIT))
|
||||
{
|
||||
if (!$infolog) $infolog = array();
|
||||
foreach (self::$mapping as $key => $attr)
|
||||
|
Loading…
Reference in New Issue
Block a user