From 7a13da55cc4fa5ed19512cdd096eaaf8a2a5c2d6 Mon Sep 17 00:00:00 2001 From: Etienne Perriere Date: Mon, 2 May 2016 15:33:44 +0200 Subject: [PATCH] Fix unrequired purchase price inputs --- Config/module.xml | 2 +- EventListeners/PseExtendPriceFormListener.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Config/module.xml b/Config/module.xml index 14b9684..75a5a25 100755 --- a/Config/module.xml +++ b/Config/module.xml @@ -7,7 +7,7 @@ Famille de clients - 1.3.1 + 1.3.2 Guillaume Barral gbarral@openstudio.fr diff --git a/EventListeners/PseExtendPriceFormListener.php b/EventListeners/PseExtendPriceFormListener.php index 7c6f46c..055d208 100644 --- a/EventListeners/PseExtendPriceFormListener.php +++ b/EventListeners/PseExtendPriceFormListener.php @@ -50,7 +50,6 @@ public function extendPsePriceForm(TheliaFormEvent $event) 'allow_delete' => true, 'options' => [ 'constraints' => [ - new Constraints\NotBlank, new Constraints\GreaterThanOrEqual(['value' => 0]) ] ]