summaryrefslogtreecommitdiff
path: root/app/Report/ReportParserGenerate.php
diff options
context:
space:
mode:
authorScrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com>2017-12-03 10:41:03 +0100
committerGreg Roach <fisharebest@gmail.com>2017-12-03 09:41:03 +0000
commit4a3c5b10f904e15aa9db69a2ef0746578d828deb (patch)
tree76f8492cbd37681a3732d3eabe888221b3c34c08 /app/Report/ReportParserGenerate.php
parent7bec14ac5948ab6ff50ff9495e5b8e649b30efe3 (diff)
downloadwebtrees-4a3c5b10f904e15aa9db69a2ef0746578d828deb.tar.gz
webtrees-4a3c5b10f904e15aa9db69a2ef0746578d828deb.tar.bz2
webtrees-4a3c5b10f904e15aa9db69a2ef0746578d828deb.zip
Scrutinizer Auto-Fixes (#1524)
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
Diffstat (limited to 'app/Report/ReportParserGenerate.php')
-rw-r--r--app/Report/ReportParserGenerate.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Report/ReportParserGenerate.php b/app/Report/ReportParserGenerate.php
index 287f62bfd3..3c7adba05b 100644
--- a/app/Report/ReportParserGenerate.php
+++ b/app/Report/ReportParserGenerate.php
@@ -1696,7 +1696,7 @@ class ReportParserGenerate extends ReportParserBase {
$media_file = $mediaobject->firstImageFile();
if ($media_file !== null && $media_file->fileExists()) {
- $attributes = $media_file->getImageAttributes();
+ $attributes = $media_file->getImageAttributes();
if ($width > 0 && $height == 0) {
$perc = $width / $attributes[0];
$height = round($attributes[1] * $perc);