Some more coding style update
This commit is contained in:
parent
0f09ef5f8c
commit
3b0d696dbb
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue