From fe5ccad978199cfbe71c583280b999769a27c9b2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Sun, 10 Jun 2012 17:47:24 +0200 Subject: [PATCH] Fixes errors in modules/payment.php. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- modules/payment.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/payment.php b/modules/payment.php index 0d20b68..a8fd9ed 100644 --- a/modules/payment.php +++ b/modules/payment.php @@ -27,11 +27,11 @@ function cb_erreur($text, $conf_title="") { $mymail->addTo($globals->money->email); $mymail->setFrom("webmaster@" . $globals->mail->domain); $mymail->setSubject("erreur lors d'un télépaiement (CyberPaiement)"); - $content = "raison de l'erreur : ".$text."\n"); + $content = "raison de l'erreur : " . $text . "\n"; if ($conf_title != "") { $content = $content."paiement : ".$conf_title."\n"; } - $content = $content."dump de REQUEST :\n".var_export($_REQUEST,true)); + $content = $content . "dump de REQUEST :\n" . var_export($_REQUEST, true); $mymail->setTxtBody($content); $mymail->send(); echo "Notification sent.\n"; -- 2.1.4