Skip to content
Snippets Groups Projects
Commit fe520c3f authored by Andreas Fernandez's avatar Andreas Fernandez Committed by Daniel Goerz
Browse files

[BUGFIX] Cast indexer config to integers before multiplication

If either the options `minAge` or `maxAge` are an empty string, the
corresponding multiplication will fail and a PHP warning is triggered.

As a quick win, the values are casted to integers.

Resolves: #90087
Releases: master, 9.5, 8.7
Change-Id: Ia6861434231e7e338384c3e919a09466b39d425f
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62846


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarJörg Bösche <typo3@joergboesche.de>
Reviewed-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
parent 0bf0deee
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