mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
"fixed infolog loosing links: wrong placed bracket"
This commit is contained in:
parent
14f55a35ed
commit
39e2710b24
@ -659,10 +659,12 @@ class infolog_bo
|
||||
function write(&$values, $check_defaults=true, $touch_modified=true, $user2server=true)
|
||||
{
|
||||
//echo "boinfolog::write()values="; _debug_array($values);
|
||||
if (!$values['info_id'] && !$this->check_access(0,EGW_ACL_EDIT,$values['info_owner'])
|
||||
&& !$this->check_access(0,EGW_ACL_ADD,$values['info_owner'])) return false;
|
||||
|
||||
if (($status_only = $values['info_id']) && !$this->check_access($values['info_id'],EGW_ACL_EDIT))
|
||||
if (!$values['info_id'] && !$this->check_access(0,EGW_ACL_EDIT,$values['info_owner']) &&
|
||||
!$this->check_access(0,EGW_ACL_ADD,$values['info_owner']))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if (($status_only = $values['info_id'] && !$this->check_access($values['info_id'],EGW_ACL_EDIT)))
|
||||
{
|
||||
if (!isset($values['info_responsible']))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user