Browse Source

Fix loading lang

Laurent Destailleur 8 years ago
parent
commit
25df6b799a
2 changed files with 3 additions and 0 deletions
  1. 2 0
      htdocs/holiday/card.php
  2. 1 0
      htdocs/holiday/document.php

+ 2 - 0
htdocs/holiday/card.php

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

+ 1 - 0
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');