Infolog: Avoid changing contact or project links if user has no write permission

This commit is contained in:
nathan 2021-10-15 09:04:29 -06:00
parent d200e2b71e
commit a268ebbdab

View File

@ -1110,7 +1110,7 @@ class infolog_bo
) || (
is_array($values['info_contact']) && $values['info_contact']['id'] == 'none' &&
array_key_exists('search', $values['info_contact'])
))
))
{
if(is_array($values['info_contact']))
{