diff --git a/htdocs/comm/action/fiche.php b/htdocs/comm/action/fiche.php index 146d20e5e3a..c616ffaafcb 100644 --- a/htdocs/comm/action/fiche.php +++ b/htdocs/comm/action/fiche.php @@ -885,8 +885,8 @@ if ($_GET["id"]) if ($_GET["action"] != 'edit') { - if ($user->rights->agenda->allactions->modify || - (($act->author->id == $user->id || $act->usertodo->id == $user->id) && $user->rights->agenda->myactions->modify)) + if ($user->rights->agenda->allactions->create || + (($act->author->id == $user->id || $act->usertodo->id == $user->id) && $user->rights->agenda->myactions->create)) { print ''.$langs->trans("Modify").''; }