Skip to content

Commit d3fb01d

Browse files
committed
Merge branch '3.1.x' into 3.2.x
2 parents fd19ef7 + 48659c2 commit d3fb01d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

phpBB/phpbb/plupload/plupload.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ public function generate_resize_string()
266266
if ($this->config['img_max_height'] > 0 && $this->config['img_max_width'] > 0)
267267
{
268268
$resize = sprintf(
269-
'resize: {width: %d, height: %d, quality: 100},',
269+
'resize: {width: %d, height: %d, quality: 85},',
270270
(int) $this->config['img_max_width'],
271271
(int) $this->config['img_max_height']
272272
);

tests/plupload/plupload_test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function generate_resize_string_data()
2424
array(
2525
130,
2626
150,
27-
'resize: {width: 130, height: 150, quality: 100},'
27+
'resize: {width: 130, height: 150, quality: 85},'
2828
),
2929
);
3030
}

0 commit comments

Comments
 (0)