diff --git a/htdocs/holiday/card.php b/htdocs/holiday/card.php index e8e4d3b9c12..6583ad09b61 100644 --- a/htdocs/holiday/card.php +++ b/htdocs/holiday/card.php @@ -46,6 +46,8 @@ if ($user->societe_id > 0) accessforbidden(); $now=dol_now(); +$langs->load("holiday"); + /* * Actions diff --git a/htdocs/holiday/document.php b/htdocs/holiday/document.php index 1d30e33f189..d39a6e566b1 100644 --- a/htdocs/holiday/document.php +++ b/htdocs/holiday/document.php @@ -48,6 +48,7 @@ $confirm = GETPOST('confirm','alpha'); if ($user->societe_id) $socid=$user->societe_id; $result = restrictedArea($user, 'holiday', $id, 'holiday'); +$langs->load("holiday"); // Get parameters $sortfield = GETPOST('sortfield','alpha');