From 540a22a504ea50a49d08a8729b3d953e4a94395c Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Fri, 27 Sep 2019 22:43:54 +0200 Subject: upload_history_thumbnails: Remove broken PDF thumbnails PDF thumbnail support has been removed by 98f7c65dddf0667f1a0462e08be9e6273ce658fb, but this has been left. The thumbnails are not generated so the images show up empty. Fix it by simply not listing them in the first place. Signed-off-by: Florian Pritz --- application/controllers/Main.php | 1 - 1 file changed, 1 deletion(-) diff --git a/application/controllers/Main.php b/application/controllers/Main.php index 793c88b89..3b5fe353e 100644 --- a/application/controllers/Main.php +++ b/application/controllers/Main.php @@ -535,7 +535,6 @@ class Main extends MY_Controller { (files.user = '.$this->db->escape($user).') AND ( mimetype LIKE \'image%\' - OR mimetype IN (\'application/pdf\') )', null, false) ->order_by('date', 'desc') ->get()->result_array(); -- cgit v1.2.3-24-g4f1b