From 2403f448cb7e2418f9914e0c44a48b9605ee0ec4 Mon Sep 17 00:00:00 2001 From: David Pareja Rodriguez Date: Fri, 9 Dec 2022 15:32:57 +0100 Subject: [PATCH] Force $action = 'create' when there's errors --- htdocs/ticket/card.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/ticket/card.php b/htdocs/ticket/card.php index 869f5b27529..fdc3ac6e340 100755 --- a/htdocs/ticket/card.php +++ b/htdocs/ticket/card.php @@ -299,6 +299,7 @@ if (empty($reshook)) { } } else { setEventMessages($object->error, $object->errors, 'errors'); + $action = 'create'; } }