aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-09-15 09:18:42 +0200
committerMax Kostikov <max@kostikov.co>2019-09-15 09:18:42 +0200
commit86b4a53858dff8a91a051faad3b4505db0fe44ba (patch)
tree3454996233537cb9e41c380530cd6a2607ccc723 /util
parentfd30be7644cc35d5396bcaf7bb376fd26e476ba5 (diff)
downloadvolse-hubzilla-86b4a53858dff8a91a051faad3b4505db0fe44ba.tar.gz
volse-hubzilla-86b4a53858dff8a91a051faad3b4505db0fe44ba.tar.bz2
volse-hubzilla-86b4a53858dff8a91a051faad3b4505db0fe44ba.zip
Prevent image blurring
Diffstat (limited to 'util')
-rwxr-xr-xutil/thumbrepair2
1 files changed, 1 insertions, 1 deletions
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'])
);