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); $file = $book->getFilePath ($type);
// get image size // get image size
if($size = GetImageSize($file)){ if ($size = GetImageSize($file)) {
$w = $size[0]; $w = $size[0];
$h = $size[1]; $h = $size[1];
//set new size //set new size
@ -85,7 +85,7 @@ function notFound () {
{ {
$file = $book->getFilePath ($type); $file = $book->getFilePath ($type);
// get image size // get image size
if($size = GetImageSize($file)){ if ($size = GetImageSize($file)) {
$w = $size[0]; $w = $size[0];
$h = $size[1]; $h = $size[1];
//set new size //set new size

View file

@ -59,7 +59,7 @@ $mail->IsHTML(false);
$mail->Subject = 'Sent by COPS'; $mail->Subject = 'Sent by COPS';
$mail->Body = 'Sent by COPS'; $mail->Body = 'Sent by COPS';
if(!$mail->Send()) { if (!$mail->Send()) {
echo localize ("mail.messagenotsent"); echo localize ("mail.messagenotsent");
echo 'Mailer Error: ' . $mail->ErrorInfo; echo 'Mailer Error: ' . $mail->ErrorInfo;
exit; exit;