mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-24 21:03:19 +09:00
Merge branch 'develop' into next
This commit is contained in:
commit
177a6c6b7d
42 changed files with 98 additions and 74 deletions
|
|
@ -922,9 +922,9 @@ class fileController extends file
|
|||
$args->height = $file_info['height'];
|
||||
$args->duration = $file_info['duration'];
|
||||
|
||||
// Set original type if the file is converted
|
||||
// Set original type
|
||||
$args->original_type = null;
|
||||
if($file_info['converted'])
|
||||
if($file_info['type'] !== $file_info['original_type'])
|
||||
{
|
||||
$args->original_type = $file_info['original_type'];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue