From 8430db0b3ee68ae80c7be64bfcd872bb021e6052 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Wed, 3 Jan 2024 20:55:07 +0700 Subject: [PATCH] Update displaying.php --- library/attach_mod/displaying.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/library/attach_mod/displaying.php b/library/attach_mod/displaying.php index 8aff87ff..8f96af19 100644 --- a/library/attach_mod/displaying.php +++ b/library/attach_mod/displaying.php @@ -197,10 +197,10 @@ function display_attachments($post_id) $thumbnail_filename = $upload_dir . '/' . THUMB_DIR . '/t_' . basename($attachments['_' . $post_id][$i]['physical_filename']); // Check the file existence - if (!is_file($filename)) + /*if (!is_file($filename)) { continue; - } + }*/ $upload_image = ''; @@ -319,10 +319,10 @@ function display_attachments($post_id) else { // Checks the thumbnail existence - if (!is_file($thumbnail_filename)) + /*if (!is_file($thumbnail_filename)) { continue; - } + }*/ $thumb_source = $thumbnail_filename; }