修改文件类型显示为文件夹问题

Signed-off-by: 小胡 <3203164629@qq.com>
This commit is contained in:
小胡
2024-02-06 08:07:27 +00:00
committed by Gitee
Unverified
parent e5e63c1b6f
commit 81688b639c

View File

@@ -889,7 +889,7 @@ class table_resources extends dzz_table
$fileinfo['isgroup'] = ($currentfolder['flag'] == 'organization') ? true : false;
}
} elseif ($fileinfo['ext']) {
$fileinfo['type'] = $fileinfo['ext'] . lang('typename_attach');
$fileinfo['type'] = getFileTypeName($fileinfo['type'], $fileinfo['ext']);
} else {
$fileinfo['type'] = lang('undefined_file_type');
}