Skip to content
Snippets Groups Projects
Commit 481c0a3a authored by Benni Mack's avatar Benni Mack Committed by Oliver Bartsch
Browse files

[BUGFIX] Prevent type error on invalid crop instructions

When the crop object is serialized in a wrong manner
or does not contain all information. In order to avoid
PHP errors, the casting is done so the page still
gets rendered.

Resolves: #93138
Releases: main, 12.4, 11.5
Change-Id: Ia71dc81363c519a663c9cc91e2f0f200e7570832
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81079


Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
parent f4b1d41c
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