Merge pull request #21740 from defrance/patch-226

php V8 warning
This commit is contained in:
Laurent Destailleur 2022-08-14 15:21:48 +02:00 committed by GitHub
commit 508d357792
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>';