mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-06-15 03:37:14 +09:00
Merge branch 'security/rve-2026-7'
This commit is contained in:
commit
aa0f3f0200
9 changed files with 85 additions and 21 deletions
|
|
@ -1036,9 +1036,9 @@ class DocumentModel extends Document
|
|||
{
|
||||
self::$_config = ModuleModel::getModuleConfig('document') ?: new stdClass;
|
||||
}
|
||||
if (!isset(self::$_config->thumbnail_target))
|
||||
if (!isset(self::$_config->thumbnail_target) || self::$_config->thumbnail_target === 'all')
|
||||
{
|
||||
self::$_config->thumbnail_target = 'all';
|
||||
self::$_config->thumbnail_target = 'attachment';
|
||||
}
|
||||
if (!isset(self::$_config->thumbnail_type))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue