Merge pull request #23170 from Daviid-P/fix_action_add_ticket_error

Force $action = 'create' when there's errors
This commit is contained in:
Laurent Destailleur 2022-12-10 16:16:27 +01:00 committed by GitHub
commit b93ab6e3ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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