mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
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();
|
||||
|
||||
$langs->load("holiday");
|
||||
|
||||
|
||||
/*
|
||||
* Actions
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user