projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a9d877
)
Fixes check for text into brackets in payment text.
author
Stéphane Jacob
<sj@m4x.org>
Mon, 19 Sep 2011 21:52:44 +0000
(23:52 +0200)
committer
Stéphane Jacob
<sj@m4x.org>
Mon, 19 Sep 2011 21:57:39 +0000
(23:57 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
include/validations/paiements.inc.php
patch
|
blob
|
blame
|
history
diff --git
a/include/validations/paiements.inc.php
b/include/validations/paiements.inc.php
index
2ec3a98
..
0214520
100644
(file)
--- 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;
}