Fix loading lang
This commit is contained in:
parent
9a59fbada7
commit
25df6b799a
@ -46,6 +46,8 @@ if ($user->societe_id > 0) accessforbidden();
|
|||||||
|
|
||||||
$now=dol_now();
|
$now=dol_now();
|
||||||
|
|
||||||
|
$langs->load("holiday");
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Actions
|
* Actions
|
||||||
|
|||||||
@ -48,6 +48,7 @@ $confirm = GETPOST('confirm','alpha');
|
|||||||
if ($user->societe_id) $socid=$user->societe_id;
|
if ($user->societe_id) $socid=$user->societe_id;
|
||||||
$result = restrictedArea($user, 'holiday', $id, 'holiday');
|
$result = restrictedArea($user, 'holiday', $id, 'holiday');
|
||||||
|
|
||||||
|
$langs->load("holiday");
|
||||||
|
|
||||||
// Get parameters
|
// Get parameters
|
||||||
$sortfield = GETPOST('sortfield','alpha');
|
$sortfield = GETPOST('sortfield','alpha');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user