Skip to content

Commit 556979e

Browse files
authored
Merge pull request blueimp#3490 from PaulBehrendtVentoro/patch-1
Fix typo in php upload handler
2 parents 9459d10 + 2d9f499 commit 556979e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/php/UploadHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@ protected function imagick_create_scaled_image($file_name, $version, $options) {
876876
if( !empty($options["strip"]) ) {
877877
$image_strip = $options["strip"];
878878
}
879-
if ( !$image_oriented && ($max_width >= $img_width) && ($max_height >= $img_height) && !image_strip && empty($options["jpeg_quality"]) ) {
879+
if ( !$image_oriented && ($max_width >= $img_width) && ($max_height >= $img_height) && !$image_strip && empty($options["jpeg_quality"]) ) {
880880
if ($file_path !== $new_file_path) {
881881
return copy($file_path, $new_file_path);
882882
}

0 commit comments

Comments
 (0)