Skip to content
Snippets Groups Projects
Commit 3e524caf authored by Markus Klein's avatar Markus Klein Committed by Benni Mack
Browse files

[BUGFIX] Use correct data for cObj in ClickEnlargeViewHelper

Set the current content element record as data for the cObj
used to generate the click-enlarge code for images.

This ensures that the default dataWrap used in TypoScript
actually gets the uid of the content element and not the
current page.

Resolves: #93700
Releases: master, 10.4
Change-Id: I066c8fcb568b752b57439fffaf969ec002032d3a
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/68310


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarBenjamin Franzke <bfr@qbus.de>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent b6110038
Branches
Tags
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