Update common.php

pull/73/head
qkqpttgf 2020-06-07 18:04:29 +08:00 committed by GitHub
parent 38af9fe4ed
commit a163738e69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -404,7 +404,8 @@ function files_json($files)
} elseif (isset($files['folder'])) {
$tmp['list'] = [];
foreach ($files['children'] as $file) {
//$tmp1 = '';
$tmp1 = null;
$tmp1 = [];
if (isset($file['file'])) {
$tmp1['type'] = 0;
$tmp1['url'] = $file[$_SERVER['DownurlStrName']];