Update html.form.class.php
$lang->load('errors') is needed to load the traductions for:
$return.= '<font class="error">'.$langs->trans("ErrorYourCountryIsNotDefined").'</div>';
$return.= '<font class="error">'.$langs->trans("ErrorSupplierCountryIsNotDefined").'</div>';
This commit is contained in:
parent
768c623a89
commit
df388df3ff
@ -4519,6 +4519,8 @@ class Form
|
|||||||
{
|
{
|
||||||
global $langs,$conf,$mysoc;
|
global $langs,$conf,$mysoc;
|
||||||
|
|
||||||
|
$langs->load('errors');
|
||||||
|
|
||||||
$return='';
|
$return='';
|
||||||
|
|
||||||
// Define defaultnpr, defaultttx and defaultcode
|
// Define defaultnpr, defaultttx and defaultcode
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user