Pass full infolog data to check_access(), fixes access errors when importing with info_id

This commit is contained in:
Nathan Gray 2015-05-21 15:53:09 +00:00
parent ad2d331c86
commit 5f9e72e668

View File

@ -729,7 +729,8 @@ class infolog_bo
{
$old = $this->read($values['info_id'], false, 'server');
}
if (($status_only = $values['info_id'] && !$this->check_access($values['info_id'],EGW_ACL_EDIT)))
if (($status_only = $values['info_id'] && !$this->check_access($values,EGW_ACL_EDIT)))
{
if (!isset($values['info_responsible']))
{