Fix PHP 8.1.7

This commit is contained in:
Alexandre SPANGARO 2022-06-12 22:54:15 +02:00
parent 05cad50f0e
commit 448027f8ed

View File

@ -505,6 +505,7 @@ class FormAccounting extends Form
}
// Build select
$out = '';
$out .= Form::selectarray($htmlname, $aux_account, $selectid, ($showempty ? (is_numeric($showempty) ? 1 : $showempty): 0), 0, 0, '', 0, 0, 0, '', $morecss, 1);
//automatic filling if we give the name of the subledger_label input
if (!empty($conf->use_javascript_ajax) && !empty($labelhtmlname)) {