aboutsummaryrefslogtreecommitdiffstats
path: root/util/thumbrepair
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2019-09-26 18:36:06 -0700
committerzotlabs <mike@macgirvin.com>2019-09-26 18:36:06 -0700
commit02f5fa32af4708877c89a50d5fa8849f6d9e038e (patch)
treed3067651098c636e6093ada64f3b65881ade1eed /util/thumbrepair
parentb6590e95b5429ec50eccd3bb9c70ff0127dbd1cb (diff)
parentec65211d54d07787871befe0e4658a469a735301 (diff)
downloadvolse-hubzilla-02f5fa32af4708877c89a50d5fa8849f6d9e038e.tar.gz
volse-hubzilla-02f5fa32af4708877c89a50d5fa8849f6d9e038e.tar.bz2
volse-hubzilla-02f5fa32af4708877c89a50d5fa8849f6d9e038e.zip
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'util/thumbrepair')
-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'])
);