From 250c404839aae6a534429c08b16ec560f9fd1753 Mon Sep 17 00:00:00 2001 From: oallain Date: Wed, 22 Nov 2023 18:22:04 +0100 Subject: [PATCH 1/2] Fix of SymfonyForm error --- src/Controller/PayPalOrderItemController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controller/PayPalOrderItemController.php b/src/Controller/PayPalOrderItemController.php index 545fa3c6..40fe83b4 100644 --- a/src/Controller/PayPalOrderItemController.php +++ b/src/Controller/PayPalOrderItemController.php @@ -39,7 +39,7 @@ public function createFromProductDetailsAction(Request $request): Response $form = $form->handleRequest($request); - if (!$form->isValid()) { + if ($form->isSubmitted() && !$form->isValid()) { return new RedirectResponse((string) $request->headers->get('referer')); } From 1b91407df072d854c3ca3bd3b0e7279a1803ae8b Mon Sep 17 00:00:00 2001 From: Damian Murawski Date: Thu, 11 Apr 2024 13:27:56 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fe5385fd..af85d5eb 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,10 @@

- + + + + Sylius Logo. +