diff --git a/infolog/inc/class.infolog_bo.inc.php b/infolog/inc/class.infolog_bo.inc.php index d9d8309201..3f79452375 100644 --- a/infolog/inc/class.infolog_bo.inc.php +++ b/infolog/inc/class.infolog_bo.inc.php @@ -114,7 +114,7 @@ class infolog_bo */ var $tracking; /** - * Variable used to tell read functions to ignore the acl + * Variable used to tell read function to ignore the acl * used in async_notification; * * @var ignore_acl @@ -599,7 +599,7 @@ class infolog_bo } $info_id = $data['info_id']; // in case the uid was specified - if (!$ignore_acl && !$this->check_access($data,EGW_ACL_READ)) // check behind read, to prevent a double read + if (!(self::$ignore_acl || $ignore_acl) && !$this->check_access($data,EGW_ACL_READ)) // check behind read, to prevent a double read { return False; } diff --git a/infolog/inc/class.infolog_egw_record.inc.php b/infolog/inc/class.infolog_egw_record.inc.php index 55f3e72cb4..394ad5abac 100644 --- a/infolog/inc/class.infolog_egw_record.inc.php +++ b/infolog/inc/class.infolog_egw_record.inc.php @@ -41,9 +41,7 @@ class infolog_egw_record implements importexport_iface_egw_record $this->identifier = $_identifier; if(self::$bo == null) self::$bo = new infolog_bo(); if($_identifier) { - $lia = false; - if (isset(infolog_bo::$ignore_acl)) $lia = infolog_bo::$ignore_acl; - $rec = self::$bo->read($this->identifier,true,'ts',$lia); + $rec = self::$bo->read($this->identifier); if (is_array($rec)) $this->set_record($rec); } }