[VD:OneDrive] fix problem of not show thumbnail of new items

This commit is contained in:
nao-pon
2017-11-21 16:23:47 +09:00
parent 97c99cfafb
commit d38bc4fa47
+2
View File
@@ -436,6 +436,8 @@ class elFinderVolumeOneDrive extends elFinderVolumeDriver
if ($raw->thumbnails[0]->small->url) {
$stat['tmb'] = substr($raw->thumbnails[0]->small->url, 8); // remove "https://"
}
} else if ($raw->file->processingMetadata) {
$stat['tmb'] = '1';
}
}