php V8 warning

This commit is contained in:
This Charlène 2022-08-13 12:17:19 +02:00 committed by GitHub
parent baaa72c80d
commit f9d44f4251
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -713,7 +713,7 @@ foreach ($profid as $key => $val) {
$i++;
}
if ($conf->accounting->enabled) {
if (!empty($conf->accounting->enabled)) {
print '<tr class="oddeven">';
print '<td colspan="2">'.$langs->trans('CustomerAccountancyCodeShort')."</td>\n";
print '<td colspan="2"></td>';