Merge pull request #17956 from dolibit-ut/patch-357

Update card.php
This commit is contained in:
Laurent Destailleur 2021-06-17 13:29:52 +02:00 committed by GitHub
commit 70309d8a3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -858,9 +858,10 @@ $object = new Holiday($db);
$listhalfday = array('morning'=>$langs->trans("Morning"), "afternoon"=>$langs->trans("Afternoon"));
$title = $langs->trans('CPTitreMenu');
$help_url = 'EN:Module_Holiday';
llxHeader('', $langs->trans('CPTitreMenu'), $help_url);
llxHeader('', $title, $help_url);
if ((empty($id) && empty($ref)) || $action == 'create' || $action == 'add') {
// If user has no permission to create a leave