#19166t3lib_befunc::getNoRecordTitle dies with fatal error if $LANG is not instantiated
Description
When using t3lib_befunc::getRecordTitle the method t3lib_befunc::getNoRecordTitle will be called if there is no title of the record. This method relies on $LANG to be instantiated, which is not the case in CLI mode.
This makes the crawler extension fail if reaches a page with no title.
Instantiating the LANG object seems overkill, so a simple check if it is, and if not just returning a default hardcoded value or an empty string would be a solution.
(issue imported from #M9072)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.