From 3908d13b4afd9b3c5383856ded296b68ed056e41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Philippe=20Gu=C3=A9rard?= Date: Wed, 18 Jan 2012 00:33:42 +0100 Subject: [PATCH] Another syntax fix --- fonctions.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/fonctions.php b/fonctions.php index e07405f..e87673c 100644 --- a/fonctions.php +++ b/fonctions.php @@ -173,8 +173,11 @@ function sendEmail( $to, $subject, $body, $headers, $param) $size_encoded_app = strlen( $encoded_app ) % 76 ; $size_admin_email = strlen( ADRESSEMAILADMIN ) ; - if ( $size_encoded_app + $size_admin_email + 9 > 74 ) $folding = "\r\n" - else $folding = "" ; + if ( $size_encoded_app + $size_admin_email + 9 > 74 ) { + $folding = "\r\n" ; + } else { + $folding = "" ; + } ; $from = sprintf( "From: %s%s <%s>\n", $encoded_app, $folding, ADRESSEMAILADMIN ) ; if ( $headers ) $headers .= "\r\n" ;