From 3b0d696dbbc20a3bd85e352136312afcf1aa5a3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Thu, 5 Dec 2013 10:55:13 +0100 Subject: [PATCH] Some more coding style update --- fetch.php | 4 ++-- sendtomail.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fetch.php b/fetch.php index b1fa18f..5bf06b5 100644 --- a/fetch.php +++ b/fetch.php @@ -59,7 +59,7 @@ function notFound () { { $file = $book->getFilePath ($type); // get image size - if($size = GetImageSize($file)){ + if ($size = GetImageSize($file)) { $w = $size[0]; $h = $size[1]; //set new size @@ -85,7 +85,7 @@ function notFound () { { $file = $book->getFilePath ($type); // get image size - if($size = GetImageSize($file)){ + if ($size = GetImageSize($file)) { $w = $size[0]; $h = $size[1]; //set new size diff --git a/sendtomail.php b/sendtomail.php index a2b4752..99349d6 100644 --- a/sendtomail.php +++ b/sendtomail.php @@ -59,7 +59,7 @@ $mail->IsHTML(false); $mail->Subject = 'Sent by COPS'; $mail->Body = 'Sent by COPS'; -if(!$mail->Send()) { +if (!$mail->Send()) { echo localize ("mail.messagenotsent"); echo 'Mailer Error: ' . $mail->ErrorInfo; exit;