From: vincent@cubedesigners.com Date: Wed, 14 Mar 2018 11:00:28 +0000 (+0000) Subject: #1988 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=4a83203582f4df1bfbe5961d0dd30ef3acd7f3d2;p=cubeextranet.git #1988 --- diff --git a/inc/ws/Controlleur/class.ws.services.php b/inc/ws/Controlleur/class.ws.services.php index 725b7d363..5ef1e79c6 100644 --- a/inc/ws/Controlleur/class.ws.services.php +++ b/inc/ws/Controlleur/class.ws.services.php @@ -178,8 +178,7 @@ class wsServices extends cubeFlashGateway { if (file_exists($c)) { $cover = $c; } - } - if ($book->parametres->pdfThumbnails) { + } else if ($book->parametres->pdfThumbnails) { $pdf = wsDAOBook::getWorkingFile($book->parametres->pdfThumbnails, $book->book_id); if (file_exists($pdf)) {