fix: module builder template bad error message affactation

This commit is contained in:
Florian HENRY 2022-05-17 11:55:57 +02:00
parent b0c96455ce
commit 61f7c4395b

View File

@ -436,7 +436,7 @@ if ($action == 'edit') {
if ($resprod > 0) {
print $product->ref;
} elseif ($resprod < 0) {
setEventMessages(null, $object->errors, "errors");
setEventMessages(null, $product->errors, "errors");
}
} else {
print $conf->global->{$constname};