Merge remote-tracking branch 'origin/doubled_code_for_scaling-dimensions' into doubled_code_for_scaling-dimensions
# Conflicts: # src/Object/Image.php
This commit is contained in:
commit
eb87a2afbe
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ class Image
|
||||||
$width = $this->getWidth();
|
$width = $this->getWidth();
|
||||||
$height = $this->getHeight();
|
$height = $this->getHeight();
|
||||||
|
|
||||||
$scale = Images::getScalingDimensions($width, $height,$max);
|
$scale = Images::getScalingDimensions($width, $height, $max);
|
||||||
if ($scale) {
|
if ($scale) {
|
||||||
return $this->scale($scale['width'], $scale['height']);
|
return $this->scale($scale['width'], $scale['height']);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue