Fix error 500

This commit is contained in:
Laurent Destailleur 2020-04-23 17:55:55 +02:00
parent cd1368cb71
commit f7d4d78008

View File

@ -1180,6 +1180,7 @@ if (empty($action) || $action == 'view') {
} else { } else {
print '<span class="warning">'.$langs->trans("ThirdpartyAccountNotDefinedOrThirdPartyUnknown", $tabcompany[$key]['code_compta']).'</span>'; print '<span class="warning">'.$langs->trans("ThirdpartyAccountNotDefinedOrThirdPartyUnknown", $tabcompany[$key]['code_compta']).'</span>';
} }
}
else else
{ {
print '<span class="error">'.$langs->trans("ThirdpartyAccountNotDefinedOrThirdPartyUnknownBlocking").'</span>'; print '<span class="error">'.$langs->trans("ThirdpartyAccountNotDefinedOrThirdPartyUnknownBlocking").'</span>';