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:
BackrndSource
2017-10-16 22:56:16 +02:00
committed by GitHub
parent 768c623a89
commit df388df3ff

View File

@@ -4519,6 +4519,8 @@ class Form
{
global $langs,$conf,$mysoc;
$langs->load('errors');
$return='';
// Define defaultnpr, defaultttx and defaultcode