fixed catchable fatal error "infolog_so::read() parameter 1 is no array" after CalDAV commit

This commit is contained in:
Ralf Becker 2011-04-11 13:45:35 +00:00
parent 3915fb6f03
commit e3ad932afa

View File

@ -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