Merge pull request #12903 from atm-john/10.0_fix_dom_and_missing_param
FIX dom and missing param
This commit is contained in:
commit
e96ef17737
@ -5932,7 +5932,8 @@ abstract class CommonObject
|
||||
{
|
||||
$param_list=array_keys($param['options']); // $param_list='ObjectName:classPath'
|
||||
$showempty=(($required && $default != '')?0:1);
|
||||
$out=$form->selectForForms($param_list[0], $keyprefix.$key.$keysuffix, $value, $showempty);
|
||||
$out=$form->selectForForms($param_list[0], $keyprefix.$key.$keysuffix, $value, $showempty, '', '', $morecss, $moreparam);
|
||||
|
||||
if ($conf->global->MAIN_FEATURES_LEVEL >= 2)
|
||||
{
|
||||
list($class,$classfile)=explode(':', $param_list[0]);
|
||||
|
||||
@ -5044,11 +5044,11 @@ class Form
|
||||
{
|
||||
if ($societe_vendeuse->id == $mysoc->id)
|
||||
{
|
||||
$return.= '<font class="error">'.$langs->trans("ErrorYourCountryIsNotDefined").'</div>';
|
||||
$return.= '<span class="error">'.$langs->trans("ErrorYourCountryIsNotDefined").'</span>';
|
||||
}
|
||||
else
|
||||
{
|
||||
$return.= '<font class="error">'.$langs->trans("ErrorSupplierCountryIsNotDefined").'</div>';
|
||||
$return.= '<span class="error">'.$langs->trans("ErrorSupplierCountryIsNotDefined").'</span>';
|
||||
}
|
||||
return $return;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user