Issue Bug Closed

#79687Missing else statement in Css Styles Content causes images not to be outputted

Christer V 02/08/17, 13:41 updated 10/17/17, 23:31

Description

In the new Css Styles Content there seems to be missing an else.

In TYPO3\CMS\CssStyledContent\Controller\CssStyledContentController::render_textpic

if $accessibilityMode is set to false and $separateRows is also false.

$allRows is never added to $thisImages.

Changing the code to:

if ($separateRows) {
    $thisImages .= $allRows;
}
else {
    $thisImages .= $this->cObj->stdWrap($allRows, $conf['noRowsStdWrap.']);
}

like it was before, seems to fix it.

Reviews 2