Double check if the cover is really there.

I had some problems with path having case difference on Linux.
Deze commit is opgenomen in:
Sébastien Lucas 2012-12-23 13:56:01 +01:00
bovenliggende 38b61c89da
commit ceaae73e19
2 gewijzigde bestanden met toevoegingen van 10 en 0 verwijderingen

Bestand weergeven

@ -73,6 +73,10 @@ class Book extends Base {
$this->comment = $line->comment;
$this->uuid = $line->uuid;
$this->hasCover = $line->has_cover;
if (!file_exists ($this->getFilePath ("jpg"))) {
// double check
$this->hasCover = 0;
}
$this->rating = $line->rating;
}