diff --git a/htdocs/comm/action/fiche.php b/htdocs/comm/action/fiche.php index e4625462b0e..8281b414b77 100644 --- a/htdocs/comm/action/fiche.php +++ b/htdocs/comm/action/fiche.php @@ -895,8 +895,8 @@ if ($_GET["id"]) print ''.$langs->trans("Modify").''; } - 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("Delete").''; }