Commit f32e7128 authored by Chris Müller's avatar Chris Müller Committed by Stefan Bürk
Browse files

[BUGFIX] Avoid type error when importing content

Resolves: #97658
Releases: main, 11.5
Change-Id: Ic4e18d64849e64404dca0eef240060d882476526
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/74817


Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Simon Schaufelberger's avatarSimon Schaufelberger <simonschaufi+typo3@gmail.com>
Tested-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: Simon Schaufelberger's avatarSimon Schaufelberger <simonschaufi+typo3@gmail.com>
Reviewed-by: Oliver Klee's avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
parent 7a3202cb
......@@ -851,8 +851,8 @@ abstract class ImportExport
'<em>%s, "%s"</em> : <span title="%s">%s</span>',
$softref['field'],
$softref['spKey'],
htmlspecialchars($softref['matchString']),
htmlspecialchars(GeneralUtility::fixed_lgd_cs($softref['matchString'], 60))
htmlspecialchars($softref['matchString'] ?? ''),
htmlspecialchars(GeneralUtility::fixed_lgd_cs($softref['matchString'] ?? '', 60))
);
if ($softref['subst']['type'] ?? false) {
if ($softref['subst']['title'] ?? false) {
......
Supports Markdown
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