From 86b4a53858dff8a91a051faad3b4505db0fe44ba Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Sun, 15 Sep 2019 09:18:42 +0200 Subject: Prevent image blurring --- util/thumbrepair | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/thumbrepair b/util/thumbrepair index acd453719..a37e978af 100755 --- a/util/thumbrepair +++ b/util/thumbrepair @@ -17,7 +17,7 @@ if($x) { $width = $xx['width']; $height = $xx['height']; - $n = q("SELECT * FROM photo WHERE resource_id = '%s' AND imgscale > 0", + $n = q("SELECT * FROM photo WHERE resource_id = '%s' AND imgscale > 0 ORDER BY imgscale", dbesc($xx['resource_id']) ); -- cgit v1.2.3