Project

General

Profile

Actions

Bug #79687

closed

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

Added by Christer V almost 8 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
Start date:
2017-02-08
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.
Actions

Also available in: Atom PDF