Issue Bug Closed

#34728llXmlAutoFilename will never find localized files in l10n path

Thomas Layh 03/10/12, 21:48 updated 02/24/15, 16:37

Description

If the parameter $sameLocation in function llXmlAutoFileName is set to false, like it is as default, it will never return a file name.

$location is set to “typo3conf/l10n” and since there is a condition missing, $validatePrefix will never get a path and then the function will always return NULL.

Adding another condition that checks for the l10n path resolves the problem.

Pushing a patch to review in a minute.

Reviews 1