Fix PHP 8.1.7 - $out not defined

This commit is contained in:
Alexandre SPANGARO 2022-06-12 07:36:12 +02:00
parent 02f21fae78
commit 33ecfddf83

View File

@ -283,7 +283,7 @@ class FormAccounting extends Form
$out .= '</select>';
//if ($user->admin && $help) $out .= info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionarySetup"),1);
} else {
$out .= $langs->trans("ErrorNoAccountingCategoryForThisCountry", $mysoc->country_code);
$out = $langs->trans("ErrorNoAccountingCategoryForThisCountry", $mysoc->country_code);
}
} else {
dol_print_error($this->db);