Skip to content

Commit

Permalink
Merge branch 'release/1.4.44' into v1
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Nov 19, 2018
2 parents a4f743a + 861e759 commit c358bf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/imagetransforms/ImgixImageTransform.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public static function getTransformUrl(Asset $asset, $transform, array $params =
} elseif (preg_match('/(top|center|bottom)-(left|center|right)/', $transform->position)) {
// Imgix defaults to 'center' if no param is present
$filteredCropParams = explode('-', $transform->position);
$filteredCropParams = array_diff_key($filteredCropParams, ['center']);
$filteredCropParams = array_diff($filteredCropParams, ['center']);
$cropParams[] = $filteredCropParams;
}
// Imgix
Expand Down

0 comments on commit c358bf9

Please sign in to comment.