Skip to content
Commit a5b39ef2 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/+/81065


Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
parent a19c3e8b
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