Skip to content

Commit

Permalink
BBUGFIX: #186
Browse files Browse the repository at this point in the history
  • Loading branch information
t3solution authored Mar 13, 2022
1 parent 37cea13 commit 5cb9ce6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Classes/Utility/BackgroundImageUtility.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ public function getBgImage(

} else {
// slider in jumbotron or two bg-images in two-columns
$uid = $frontendController->id;
if ($jumbotron === true){
$uid = $frontendController->id;
}
foreach($filesFromRepository as $fileKey=>$file) {
$fileKey = $fileKey+1;
$image[$fileKey] = $this->imageService->getImage((string)$file->getOriginalFile()->getUid(), $file->getOriginalFile(), true);
Expand Down

0 comments on commit 5cb9ce6

Please sign in to comment.