mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
fixed catchable fatal error "infolog_so::read() parameter 1 is no array" after CalDAV commit
This commit is contained in:
parent
3915fb6f03
commit
e3ad932afa
@ -312,7 +312,7 @@ class infolog_bo
|
||||
// handle delete for the various history modes
|
||||
if ($this->history)
|
||||
{
|
||||
if (!is_array($info) && !($info = $this->so->read($info_id))) return false;
|
||||
if (!is_array($info) && !($info = $this->so->read(array('info_id' => $info_id)))) return false;
|
||||
|
||||
if ($info['info_status'] == 'deleted' &&
|
||||
($required_rights == EGW_ACL_EDIT || // no edit rights for deleted entries
|
||||
|
Loading…
Reference in New Issue
Block a user