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>'; $out .= '</select>';
//if ($user->admin && $help) $out .= info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionarySetup"),1); //if ($user->admin && $help) $out .= info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionarySetup"),1);
} else { } else {
$out .= $langs->trans("ErrorNoAccountingCategoryForThisCountry", $mysoc->country_code); $out = $langs->trans("ErrorNoAccountingCategoryForThisCountry", $mysoc->country_code);
} }
} else { } else {
dol_print_error($this->db); dol_print_error($this->db);