From 1e21c9cd6c10cff0e31510a4df5b903f309cafb5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Laurent=20L=C3=A9cluse?= <laurent.lecluse@unicaen.fr>
Date: Mon, 26 Aug 2019 09:57:55 +0200
Subject: [PATCH] Correction bug RIB SEPA

---
 CHANGELOG.md                                                | 6 ++++++
 .../Application/src/Application/Validator/RIBValidator.php  | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index c51c267307..aa952d5ad8 100755
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,12 @@ title: "Changements intervenus sur OSE"
 author: Laurent Lécluse - DSI - Unicaen
 ---
 
+# OSE 8.2.1
+
+## Correction de bugs
+
+* Depuis la 8.2, les RIB SEPA n'étaient jamais considérés comme validés. C'est corrigé.
+
 # OSE 8.2
 
 ## Correction de bugs
diff --git a/module/Application/src/Application/Validator/RIBValidator.php b/module/Application/src/Application/Validator/RIBValidator.php
index d929c1945f..482ed2712c 100644
--- a/module/Application/src/Application/Validator/RIBValidator.php
+++ b/module/Application/src/Application/Validator/RIBValidator.php
@@ -30,6 +30,6 @@ class RIBValidator extends Iban
 
         if ($horsSepa) return true; // pas de contrôle si hors SEPA!!
 
-        parent::isValid($value, $context);
+        return parent::isValid($value, $context);
     }
 }
\ No newline at end of file
-- 
GitLab