aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-09-15 09:23:22 +0200
committerMax Kostikov <max@kostikov.co>2019-09-15 09:23:22 +0200
commit6ca507f8dd0abaffb7b4527344b4747b7325a2c4 (patch)
tree8822d294ee3be5bb5caeb4bf05449e1b9a2933b4
parentcc45129e9fb76bd29e4b0e9e5b053b870b32475e (diff)
parent86b4a53858dff8a91a051faad3b4505db0fe44ba (diff)
downloadvolse-hubzilla-6ca507f8dd0abaffb7b4527344b4747b7325a2c4.tar.gz
volse-hubzilla-6ca507f8dd0abaffb7b4527344b4747b7325a2c4.tar.bz2
volse-hubzilla-6ca507f8dd0abaffb7b4527344b4747b7325a2c4.zip
Merge branch 'dev' into 'dev'
Prevent image blurring See merge request hubzilla/core!1726
-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'])
);