mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Fix #1006, story thumbnails are displayed correctly
This commit is contained in:
@@ -66,7 +66,7 @@ return call_user_func(
|
||||
$response->setLastModified($file->get_modification_date());
|
||||
}
|
||||
|
||||
if ($file->getDataboxSubdef()->get_class() == \databox_subdef::CLASS_THUMBNAIL) {
|
||||
if (false === $record->is_grouping() && $file->getDataboxSubdef()->get_class() == \databox_subdef::CLASS_THUMBNAIL) {
|
||||
// default expiration is 5 days
|
||||
$expiration = 60 * 60 * 24 * 5;
|
||||
|
||||
|
Reference in New Issue
Block a user