mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Fix allowed_extensions sometimes not being an array
This commit is contained in:
parent
01a708acf6
commit
669d5970d5
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ class fileModel extends file
|
|||
$allowed_attach_size = FileHandler::filesize($file_config->allowed_attach_size*1024*1024);
|
||||
$allowed_filesize = FileHandler::filesize($file_config->allowed_filesize*1024*1024);
|
||||
$allowed_filetypes = $file_config->allowed_filetypes;
|
||||
$allowed_extensions = $file_config->allowed_extensions;
|
||||
$allowed_extensions = $file_config->allowed_extensions ?: array();
|
||||
$this->add("files",$files);
|
||||
$this->add("editor_sequence",$editor_sequence);
|
||||
$this->add("upload_target_srl",$upload_target_srl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue