projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename xorg_ constants to pl_
[platal.git]
/
include
/
validations
/
paiements.inc.php
diff --git
a/include/validations/paiements.inc.php
b/include/validations/paiements.inc.php
index
5d9347d
..
2343ac3
100644
(file)
--- a/
include/validations/paiements.inc.php
+++ b/
include/validations/paiements.inc.php
@@
-86,11
+86,11
@@
class PayReq extends Validate
{
// no text [AI JMIAJM IJA MIJ]
if (preg_match('/\[[-\'"A-Z ]+\]/', $this->msg_reponse)) {
{
// no text [AI JMIAJM IJA MIJ]
if (preg_match('/\[[-\'"A-Z ]+\]/', $this->msg_reponse)) {
- $this->trig("La demande de paiement n'est pas valide. Merci de compléter le texte avant de la soumettre");
+ $this->trig
Error
("La demande de paiement n'est pas valide. Merci de compléter le texte avant de la soumettre");
return false;
}
if (!preg_match('/<montant>/', $this->msg_reponse)) {
return false;
}
if (!preg_match('/<montant>/', $this->msg_reponse)) {
- $this->trig("Le demande de paiement ne contient pas la balise obligatoire <montant>");
+ $this->trig
Error
("Le demande de paiement ne contient pas la balise obligatoire <montant>");
return false;
}
return true;
return false;
}
return true;