mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Fix #1480 misc errors in PHP 8.0
This commit is contained in:
parent
6d4fe58c2f
commit
372e392049
6 changed files with 13 additions and 10 deletions
|
|
@ -132,7 +132,7 @@ class fileAdminController extends file
|
|||
$config->allow_outlink_site = Context::get('allow_outlink_site');
|
||||
$config->allow_multimedia_direct_download = Context::get('allow_multimedia_direct_download') === 'Y' ? 'Y' : 'N';
|
||||
$config->download_short_url = Context::get('download_short_url') === 'Y' ? 'Y' : 'N';
|
||||
$config->inline_download_format = array_map('utf8_trim', Context::get('inline_download_format'));
|
||||
$config->inline_download_format = array_map('utf8_trim', Context::get('inline_download_format') ?: []);
|
||||
|
||||
// Save and redirect
|
||||
$output = getController('module')->insertModuleConfig('file', $config);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue