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
1 changed files with 2 additions and 0 deletions
|
|
@ -4519,6 +4519,8 @@ class Form
|
|||
{
|
||||
global $langs,$conf,$mysoc;
|
||||
|
||||
$langs->load('errors');
|
||||
|
||||
$return='';
|
||||
|
||||
// Define defaultnpr, defaultttx and defaultcode
|
||||
|
|
|
|||
Loading…
Reference in a new issue