Force $action = 'create' when there's errors

This commit is contained in:
David Pareja Rodriguez 2022-12-09 15:32:57 +01:00
parent 8f196c1214
commit 2403f448cb

View File

@ -299,6 +299,7 @@ if (empty($reshook)) {
}
} else {
setEventMessages($object->error, $object->errors, 'errors');
$action = 'create';
}
}