Fix loading lang

This commit is contained in:
Laurent Destailleur 2017-01-23 17:36:50 +01:00
parent 9a59fbada7
commit 25df6b799a
2 changed files with 3 additions and 0 deletions

View File

@ -46,6 +46,8 @@ if ($user->societe_id > 0) accessforbidden();
$now=dol_now();
$langs->load("holiday");
/*
* Actions

View File

@ -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');