Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX] Cast pageType and suggestPageType to int in SearchFormViewHe…
…lper Problem: Calling the `s:searchForm` ViewHelper with the `pageType` or `suggestPageType` argument with a value from a typoscript setting will lead to a TypeError ```html <s:searchForm pageType="{settings.pageType}" suggestPageType="{settings.suggestPageType}"> ``` `TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder::setTargetPageType(): Argument #1 ($targetPageType) must be of type int, string given, called in /var/www/html/private/typo3conf/ext/solr/Classes/ViewHelpers/SearchFormViewHelper.php` Solution: Cast both arguments to int Fixes: TYPO3-Solr#3927 Ports: TYPO3-Solr#3728
- Loading branch information