Skip to content
Snippets Groups Projects
Commit db6def12 authored by Christian Eßl's avatar Christian Eßl Committed by Daniel Goerz
Browse files

[BUGFIX] Prevent empty div in RecordHistory Rollback

In the RecordHistory Rollback template it can happen, that the
historyRow is missing messages about its differences. In this case, an
empty div with a weird looking border would still be visible in the
html. This patch fixes this by wrapping an if condition around the div,
that checks first, if the needed information is available.

Resolves: #90424
Releases: master, 9.5
Change-Id: Icdd5dbf1b1008ab6a64a2b241982450bd385a8f8
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63314


Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
parent eade861a
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment