mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-09 21:42:10 +09:00
Fix empty thumbnail type for documents on new install
This commit is contained in:
parent
2f64a4ce8f
commit
3e8a8aed46
1 changed files with 1 additions and 1 deletions
|
|
@ -860,7 +860,7 @@ class documentItem extends Object
|
|||
$config = $oDocumentModel->getDocumentConfig();
|
||||
$GLOBALS['__document_config__'] = $config;
|
||||
}
|
||||
$thumbnail_type = $config->thumbnail_type;
|
||||
$thumbnail_type = $config->thumbnail_type ?: 'crop';
|
||||
}
|
||||
|
||||
// Define thumbnail information
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue