mirror of
https://github.com/friendica/friendica
synced 2024-11-10 01:42:53 +00:00
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();
|
||||
$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 {
|
||||
|
|
Loading…
Reference in a new issue