diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2019-10-09 14:00:47 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2019-10-09 20:45:24 +0100 |
| commit | 3cfcc809af53e831fa6cafac7b274a2cb407db6e (patch) | |
| tree | 17776f251f701ea946875c7eb532f1bfeeef4f94 /app/Report/ReportPdfImage.php | |
| parent | c81b7bf19f35fbd9d805aa3658f596ace2d433d9 (diff) | |
| download | webtrees-3cfcc809af53e831fa6cafac7b274a2cb407db6e.tar.gz webtrees-3cfcc809af53e831fa6cafac7b274a2cb407db6e.tar.bz2 webtrees-3cfcc809af53e831fa6cafac7b274a2cb407db6e.zip | |
Working on routing; Code cleanup
Diffstat (limited to 'app/Report/ReportPdfImage.php')
| -rw-r--r-- | app/Report/ReportPdfImage.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/Report/ReportPdfImage.php b/app/Report/ReportPdfImage.php index 30f2f8e175..68c993b738 100644 --- a/app/Report/ReportPdfImage.php +++ b/app/Report/ReportPdfImage.php @@ -52,8 +52,7 @@ class ReportPdfImage extends ReportBaseImage if ($this->y === ReportBaseElement::CURRENT_POSITION) { //-- first check for a collision with the last picture if (isset($lastpicbottom)) { - if (($renderer->PageNo() == $lastpicpage) && ($lastpicbottom >= $renderer->GetY()) && ($this->x >= $lastpicleft) && ($this->x <= $lastpicright) - ) { + if ($renderer->PageNo() === $lastpicpage && $lastpicbottom >= $renderer->GetY() && $this->x >= $lastpicleft && $this->x <= $lastpicright) { $renderer->SetY($lastpicbottom + 5); } } |
