#18306TYPO3 crashes because of array_merge error with PHP5 (pibase)
Description
In PHP 5 the function array_merge needs both arguments to be arrays.
Sometimes this is not the case so the arguments should be casted anyway to avoid this error:
Line 502: /typo3/sysext/cms/tslib/class.tslib_pibase.php
$wrapper = array_merge($wrapper,$wrapArr);
should be changed to
$wrapper = array_merge($wrapper,(array)$wrapArr);
The line above is in the function pi_list_browseresults
(issue imported from #M7840)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.