Skip to content
Snippets Groups Projects
Commit c3a76e06 authored by Oliver Bartsch's avatar Oliver Bartsch
Browse files

[BUGFIX] Cast $uid to int in ConditionMatcher

With #95258 `ConditionMatcher->getPageIdByRecord()`
got type hinted. Therefore, the $uid has to be casted to
int before passing it to the method.

Additionally, a left over type cast in the method itself
is removed.

Resolves: #96336
Related: #95258
Releases: main, 11.5
Change-Id: I3d154e99464bf30ec00124780f949e1b3dac33c6
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72631


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
parent 24604831
Branches
Tags
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