mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
파일이 변환된 경우 무조건 original_type이 채워지도록 수정
This commit is contained in:
parent
63b5d0288b
commit
4987a8928f
1 changed files with 1 additions and 1 deletions
|
|
@ -913,7 +913,7 @@ class fileController extends file
|
|||
|
||||
// Set original type if file type is changed
|
||||
$args->original_type = null;
|
||||
if($args->mime_type !== $file_info['original_type'])
|
||||
if($file_info['converted'] || $args->mime_type !== $file_info['original_type'])
|
||||
{
|
||||
$args->original_type = $file_info['original_type'];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue