Commit 3a895968 authored by Chris Müller's avatar Chris Müller Committed by Benni Mack
Browse files

[BUGFIX] Initialise parameter in AbstractElementBrowser correctly

This avoids the deprecation notice in PHP 8.1:
Passing null to parameter #2 ($string) of type string is deprecated in /var/www/html/public/typo3/sysext/recordlist/Classes/Browser/DatabaseBrowser.php line 179

Resolves: #96422
Releases: main, 11.5
Change-Id: I9c811bc0d2d4523a78fc6c72ee02be96efbe1bc3
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72779


Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
parent f425ae37
......@@ -63,7 +63,7 @@ abstract class AbstractElementBrowser
*
* @var string
*/
protected $bparams;
protected $bparams = '';
protected ?ServerRequestInterface $request = null;
......
Supports Markdown
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