Skip to content

Commit

Permalink
[BUGFIX] Assign missing variable
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminBeck authored and bjo3rnf committed Sep 4, 2016
1 parent 0988e49 commit aaca7b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Classes/ViewHelpers/Media/ImageViewHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ public function renderTag()
if ($this->hasArgument('canvasWidth') || $this->hasArgument('canvasHeight')) {
$width = $this->arguments['canvasWidth'];
$height = $this->arguments['canvasHeight'];
$src = $this->mediaSource;
} elseif (false === empty($srcSetVariants) && false === empty($this->arguments['srcsetDefault'])) {
$srcSetVariantDefault = $srcSetVariants[$this->arguments['srcsetDefault']];
$src = $srcSetVariantDefault['src'];
Expand Down

0 comments on commit aaca7b9

Please sign in to comment.