From 857bab90293fb94e6fe526a60e306c8243be76a0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Mon, 19 Sep 2011 23:52:44 +0200 Subject: [PATCH] Fixes check for text into brackets in payment text. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- include/validations/paiements.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/validations/paiements.inc.php b/include/validations/paiements.inc.php index 2ec3a98..0214520 100644 --- a/include/validations/paiements.inc.php +++ b/include/validations/paiements.inc.php @@ -89,7 +89,7 @@ Si le télépaiement n'est pas lié à un groupe ou supérieur à 51 euros, lais public function accept() { // no text [AI JMIAJM IJA MIJ] - if (preg_match('/\[[-\'"A-Z ]+\]/', $this->msg_reponse)) { + if (preg_match('/\[[-\'"a-zA-Z ]+\]/', replace_accent($this->msg_reponse))) { $this->trigError("La demande de paiement n'est pas valide. Merci de compléter le texte avant de la soumettre"); return false; } -- 2.1.4