From a84355c43880a78f460153349a2c3b1a380fa56f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Philippe=20Gu=C3=A9rard?= Date: Wed, 11 Jan 2012 20:45:13 +0100 Subject: [PATCH] Add some missing semicolon --- fonctions.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fonctions.php b/fonctions.php index 89aa52b..521ef69 100644 --- a/fonctions.php +++ b/fonctions.php @@ -186,11 +186,11 @@ function sendEmail( $to, $subject, $body, $headers, $param) $encoded_app = '=?UTF-8?B?' . base64_encode( NOMAPPLICATION ) . '?=' ; - if ( $headers ) $headers .= "\r\n" - $headers .= sprintf( "From: %s <%s>\r\n", $encoded_app, ADRESSEMAILADMIN ) - $headers .= "MIME-Version: 1.0\r\n" - $headers .= "Content-Type: text/plain; charset=UTF-8\r\n" - $headers .= "Content-Transfer-Encoding: 8bit" + if ( $headers ) $headers .= "\r\n" ; + $headers .= sprintf( "From: %s <%s>\r\n", $encoded_app, ADRESSEMAILADMIN ) ; + $headers .= "MIME-Version: 1.0\r\n" ; + $headers .= "Content-Type: text/plain; charset=UTF-8\r\n" ; + $headers .= "Content-Transfer-Encoding: 8bit" ; $body = html_entity_decode( $body, ENT_QUOTES, 'UTF-8' ) ;