#23576implodeTSParams(): numeric keys will be renumbered
Description
implodeTSParams() uses the PHP method array_merge.
But array_merge change numeric keys. They will be renumbered. See link below for further information.
implodeTSParams() works proper with the array operator +.
The line
$implodeParams = array_merge($implodeParams, self::implodeTSParams($val, $k . $kb));
has to replaced by
$implodeParams = $implodeParams + self::implodeTSParams($val, $k . $kb);
Kind regards
Dirk
File: typo3_src-4.4.2/t3lib/class.t3lib_befunc.php
Method: t3lib_BEfunc::implodeTSParams
Further information:
http://de3.php.net/manual/en/function.array-merge.php:
Example #3 Simple array_merge() example: Don’t forget that numeric keys will be renumbered!
(issue imported from #M15757)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.