Double check if the cover is really there.

I had some problems with path having case difference on Linux.
This commit is contained in:
Sébastien Lucas 2012-12-23 13:56:01 +01:00
parent 38b61c89da
commit ceaae73e19
2 changed files with 10 additions and 0 deletions

View file

@ -20,7 +20,13 @@ $book->getLinkArray ();
<div class="bookpopup">
<div class="booke">
<div class="cover">
<?php
if ($book->hasCover) {
?>
<img src="fetch.php?id=<?php echo $book->id ?>&amp;height=150" alt="cover" />
<?php
}
?>
</div>
<div class="download">
<?php