diff options
author | Max Kostikov <max@kostikov.co> | 2019-09-15 09:18:42 +0200 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2019-09-15 09:18:42 +0200 |
commit | 86b4a53858dff8a91a051faad3b4505db0fe44ba (patch) | |
tree | 3454996233537cb9e41c380530cd6a2607ccc723 /util | |
parent | fd30be7644cc35d5396bcaf7bb376fd26e476ba5 (diff) | |
download | volse-hubzilla-86b4a53858dff8a91a051faad3b4505db0fe44ba.tar.gz volse-hubzilla-86b4a53858dff8a91a051faad3b4505db0fe44ba.tar.bz2 volse-hubzilla-86b4a53858dff8a91a051faad3b4505db0fe44ba.zip |
Prevent image blurring
Diffstat (limited to 'util')
-rwxr-xr-x | util/thumbrepair | 2 |
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']) ); |