mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-29 10:09:10 +01:00
Pass full infolog data to check_access(), fixes access errors when importing with info_id
This commit is contained in:
parent
ad2d331c86
commit
5f9e72e668
@ -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']))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user