Fixing style errors.

This commit is contained in:
stickler-ci 2022-11-25 22:15:01 +00:00
parent cbf103ef74
commit 1d0f329ac5

View File

@ -276,7 +276,6 @@ if (empty($reshook)) {
$texttoshow = $langs->trans("ReferenceSupplierIsAlreadyAssociatedWithAProduct", '{s1}'); $texttoshow = $langs->trans("ReferenceSupplierIsAlreadyAssociatedWithAProduct", '{s1}');
$texttoshow = str_replace('{s1}', $productLink, $texttoshow); $texttoshow = str_replace('{s1}', $productLink, $texttoshow);
setEventMessages($texttoshow, null, 'errors'); setEventMessages($texttoshow, null, 'errors');
} elseif ($ret < 0) { } elseif ($ret < 0) {
$error++; $error++;
setEventMessages($object->error, $object->errors, 'errors'); setEventMessages($object->error, $object->errors, 'errors');