Actions
Bug #24401
closedFatal error in lang.php
Start date:
2010-12-23
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
because of type hinting an fatal error can occur in EXT:lang/lang.php
problem is inside t3lib_div::readLLfile which can give back either a filled array, an empty array or FALSE if there was an error.
therefore the line
-----
t3lib_div::array_merge_recursive_overrule((array)$LOCAL_LANG, $llang);
-----
produces a crash because $llang is boolean and not an array.
solution: check if it is an array
(issue imported from #M16825)
Files
Updated by Jigal van Hemert almost 14 years ago
Committed to
trunk in rev: 9884
4-4 in rev: 9885
4-3 in rev: 9886
4-2 in rev: 9887
Actions