Skip to content
Snippets Groups Projects
Commit a86c3e2a authored by Oliver Bartsch's avatar Oliver Bartsch Committed by Georg Ringer
Browse files

[BUGFIX] Add missing parentheses in ViewModule doktype check

Also simplify doktype check by using `in_array`
instead of comparing each doktype on its own.

Furthermore the check for the page row is superflous
because it is checked implicit by fetching the doktype.

Resolves: #91126
Releases: master
Change-Id: Ic9d39aacb4eaa663a03fcbff907a8d4c21fc5278
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64245


Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: default avatarChristian Eßl <indy.essl@gmail.com>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarGuido Schmechel <guido.schmechel@brandung.de>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarChristian Eßl <indy.essl@gmail.com>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
parent 4742f0d5
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