Fix: Translation missing

This commit is contained in:
Laurent Destailleur 2015-07-15 15:11:23 +02:00
parent f48128baf7
commit 66fcbeaf8d

View File

@ -1715,7 +1715,7 @@ class ExpenseReportLine
*/ */
function select_expensereport_statut($selected='',$htmlname='fk_statut',$useempty=1) function select_expensereport_statut($selected='',$htmlname='fk_statut',$useempty=1)
{ {
global $db; global $db, $langs;
$tmpep=new ExpenseReport($db); $tmpep=new ExpenseReport($db);
@ -1731,7 +1731,7 @@ function select_expensereport_statut($selected='',$htmlname='fk_statut',$useempt
{ {
print '<option value="'.$key.'">'; print '<option value="'.$key.'">';
} }
print $val; print $langs->trans($val);
print '</option>'; print '</option>';
} }
print '</select>'; print '</select>';