This commit is contained in:
2019-10-15 20:09:49 -07:00
parent 3ca3ef2685
commit f297d9d846
7 changed files with 36 additions and 33 deletions

View File

@@ -889,7 +889,7 @@ foreach ($files as $splFileInfo) {
} elseif ($type == "dir") {
if (is_array($dpreview) && @$dpreview[$pathname]) {
if (is_array(@$dpreview) && @$dpreview[$pathname]) {
$fetch_thumb = $dbp->query("SELECT * FROM thumbs WHERE fid='".$dpreview[$pathname]."'")->fetch();
if (@$fetch_thumb['relative_path']) {
$stmt->BindValue(":thumb_filename",$fetch_thumb['relative_path']);