Merge pull request #20881 from FHenry/15_fix_template_modbuilder

fix: module builder template bad error message affactation
This commit is contained in:
Laurent Destailleur 2022-05-20 21:40:35 +02:00 committed by GitHub
commit 786816dd44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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};