1
1
Fork 0

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:
Marek Bachmann 2022-12-28 16:43:47 +01:00
commit eb87a2afbe

View file

@ -285,7 +285,7 @@ class Image
$width = $this->getWidth();
$height = $this->getHeight();
$scale = Images::getScalingDimensions($width, $height,$max);
$scale = Images::getScalingDimensions($width, $height, $max);
if ($scale) {
return $this->scale($scale['width'], $scale['height']);
} else {