Merge branch 'dev' into 'dev'

Prevent image blurring

See merge request hubzilla/core!1726
This commit is contained in:
Max Kostikov 2019-09-15 09:23:22 +02:00
commit 6ca507f8dd

View File

@ -17,7 +17,7 @@ if($x) {
$width = $xx['width']; $width = $xx['width'];
$height = $xx['height']; $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']) dbesc($xx['resource_id'])
); );