Some more coding style update

This commit is contained in:
Sébastien Lucas 2013-12-05 10:55:13 +01:00
parent 0f09ef5f8c
commit 3b0d696dbb
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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;