#24401Fatal error in lang.php
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)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.