|
@@ -381,7 +381,7 @@ if ($resql)
|
|
|
//'builddoc'=>$langs->trans("PDFMerge"),
|
|
|
//'presend'=>$langs->trans("SendByMail"),
|
|
|
);
|
|
|
- if ($user->rights->holiday->supprimer) $arrayofmassactions['predelete'] = '<span class="fa fa-trash paddingrightonly"></span>'.$langs->trans("Delete");
|
|
|
+ if ($user->rights->holiday->delete) $arrayofmassactions['predelete'] = '<span class="fa fa-trash paddingrightonly"></span>'.$langs->trans("Delete");
|
|
|
if (in_array($massaction, array('presend', 'predelete'))) $arrayofmassactions = array();
|
|
|
$massactionbutton = $form->selectMassAction('', $arrayofmassactions);
|
|
|
|