Merge pull request #19135 from hregis/fix_wrong_position_of_error_message

FIX wrong position of error message
This commit is contained in:
Laurent Destailleur 2021-10-23 11:22:39 +02:00 committed by GitHub
commit b4d241a12b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2509,7 +2509,6 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
print '</td>';
print '<td>';
print showValueWithClipboardCPButton(dol_escape_htmltag($object->code_client));
print '</td>';
$tmpcheck = $object->check_codeclient();
if ($tmpcheck != 0 && $tmpcheck != -5) {
print ' <font class="error">('.$langs->trans("WrongCustomerCode").')</font>';