X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fvalidations%2Fpaiements.inc.php;h=2343ac3a8ae43d249136117d21ad4d6357cafb7c;hb=59887c4a8a1f014c1f4107c43deda0d1be994f5d;hp=5d9347dcfcc7b92383753248e0f112f60fdb39f9;hpb=ebd515f95f03f8a87f9b846d65e179b39a535222;p=platal.git diff --git a/include/validations/paiements.inc.php b/include/validations/paiements.inc.php index 5d9347d..2343ac3 100644 --- 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)) { - $this->trig("La demande de paiement n'est pas valide. Merci de compléter le texte avant de la soumettre"); + $this->trigError("La demande de paiement n'est pas valide. Merci de compléter le texte avant de la soumettre"); return false; } if (!preg_match('//', $this->msg_reponse)) { - $this->trig("Le demande de paiement ne contient pas la balise obligatoire <montant>"); + $this->trigError("Le demande de paiement ne contient pas la balise obligatoire <montant>"); return false; } return true;