Skip to content
Snippets Groups Projects
Commit 1fe9d0e2 authored by Claus Due's avatar Claus Due Committed by Andreas Fernandez
Browse files

[BUGFIX] Avoid PHP fatal error if colPos is not string

The newly added class \TYPO3\CMS\Backend\View\PageLayoutViewDrawEmptyColposContent
incorrectly assumes that colPos values are always strings
when they may very well be integers. This patch casts
the possibly-integer value to string before use of trim().

Releases: master
Resolves: #90211
Change-Id: I8fb145c76f2bd6b0bca187be3b4c5b05fd3c3d80
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63044


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
parent 7540dd76
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