Skip to content
Snippets Groups Projects
Commit 1717a1bb authored by Jochen Roth's avatar Jochen Roth Committed by Christian Kuhn
Browse files

[BUGFIX] Do not add error in TypoScriptParser if modifier returns null

Currently, the TypoScriptParser adds an error when
the result of a modifier is null. This is, because
the line is not set to a new value in such a case
and the following switch statement is not expecting
a line with a value modifier.

This has been fixed by skipping further checks on
the value, if the modifier returns null.

Resolves: #94109
Releases: master, 11.5
Change-Id: I28ae1570a5b0b4fc5ad667bacd86a17234aa1c60
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72420


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 047d3a2e
Branches
Tags
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