diff options
author | zotlabs <mike@macgirvin.com> | 2019-09-26 18:36:06 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2019-09-26 18:36:06 -0700 |
commit | 02f5fa32af4708877c89a50d5fa8849f6d9e038e (patch) | |
tree | d3067651098c636e6093ada64f3b65881ade1eed /util/thumbrepair | |
parent | b6590e95b5429ec50eccd3bb9c70ff0127dbd1cb (diff) | |
parent | ec65211d54d07787871befe0e4658a469a735301 (diff) | |
download | volse-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-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']) ); |