Actions
Bug #46161
closedEmpty extTables script wrongly detected
Start date:
2013-03-10
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.1
PHP Version:
5.3
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:
Description
In #45122 a check was added to avoid detecting the "TYPO3_extTableDef_script" script when it does not exist. The test uses file_exists(). This will fail if "TYPO3_extTableDef_script" is defined but empty, as file_exists() will then correctly match "typo3conf/" and try to include it, resulting in a PHP warning.
The test must be complemented by a is_file() check.
Actions