fix contacts show organisation actions too

This commit is contained in:
Ralf Becker 2015-04-24 15:15:04 +00:00
parent 707eb127fb
commit d403046205

View File

@ -1626,7 +1626,7 @@ window.egw_LAB.wait(function() {
} }
if (!$row['owner']) if (!$row['owner'])
{ {
$row['class'] .= 'rowAccount rowNoDelete'; $row['class'] .= 'rowAccount rowNoDelete ';
} }
elseif (!$this->check_perms(EGW_ACL_DELETE,$row) || (!$GLOBALS['egw_info']['user']['apps']['admin'] && $this->config['history'] != 'userpurge' && $query['col_filter']['tid'] == addressbook_so::DELETED_TYPE)) elseif (!$this->check_perms(EGW_ACL_DELETE,$row) || (!$GLOBALS['egw_info']['user']['apps']['admin'] && $this->config['history'] != 'userpurge' && $query['col_filter']['tid'] == addressbook_so::DELETED_TYPE))
{ {