Actions
Bug #17152
closedError in function t3lib_div::array_merge_recursive_overrule
Start date:
2007-03-24
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.1
PHP Version:
5.1
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
The function t3lib_div::array_merge_recursive_overrule recursivly merges 2 arrays. on line 1657 The recursion however does not pass the optional 4th parameter so that using the function on a mutlidimensional array ignores the setting $includeEmtpyValues (i.e. $includeEmtpyValues is always true)
Line 1657 should read:
$arr0[$key] = t3lib_div::array_merge_recursive_overrule($arr0[$key],$arr1[$key],$notAddKeys,$includeEmtpyValues);
instead of:
$arr0[$key] = t3lib_div::array_merge_recursive_overrule($arr0[$key],$arr1[$key],$notAddKeys);
PS. I couldn't find an appropriate category for this issue. It's not backend, that's for sure. How about plain 'API' as a category?
(issue imported from #M5288)
Files
Actions