From 815bac7ebc75082d6c0753a84b718e5b0086d7f9 Mon Sep 17 00:00:00 2001 From: weakset Date: Thu, 21 Jul 2022 18:51:38 +0300 Subject: [PATCH] issue #1427 Fix missing thumbnail for TIFF images Without this, the thumbnail is replaced with unknown MIME icon. --- admin/comments.php | 1 + 1 file changed, 1 insertion(+) diff --git a/admin/comments.php b/admin/comments.php index fe1ba6c2c..795e9bd0f 100644 --- a/admin/comments.php +++ b/admin/comments.php @@ -172,6 +172,7 @@ while ($row = pwg_db_fetch_assoc($result)) array( 'id'=>$row['image_id'], 'path'=>$row['path'], + 'representative_ext'=>$row['representative_ext'], ) ); if (empty($row['author_id']))