Don't preserve links so user can delete them if they want.

This commit is contained in:
Nathan Gray 2014-03-04 00:27:21 +00:00
parent 5abc2eceef
commit facdd8143b

View File

@ -1938,8 +1938,9 @@ class infolog_ui
} }
$preserv = $content; $preserv = $content;
// Don't preserve message // Don't preserve message or links
unset($preserv['msg']); unset($preserv['msg']);
unset($preserv['links']); unset($preserv['link_to']);
// for no edit rights or implizit edit of responsible user make all fields readonly, but status and percent // for no edit rights or implizit edit of responsible user make all fields readonly, but status and percent
if ($info_id && !$this->bo->check_access($info_id,EGW_ACL_EDIT) && !$undelete) if ($info_id && !$this->bo->check_access($info_id,EGW_ACL_EDIT) && !$undelete)