Bug #97972 ยป patch.diff
typo3/sysext/form/Classes/Hooks/DataStructureIdentifierHook.php | ||
---|---|---|
public function __construct()
|
||
{
|
||
$this->getLanguageService()->includeLLFile('EXT:form/Resources/Private/Language/Database.xlf');
|
||
$this->getLanguageService()?->includeLLFile('EXT:form/Resources/Private/Language/Database.xlf');
|
||
}
|
||
/**
|
||
... | ... | |
return $finishersDefinition;
|
||
}
|
||
protected function getLanguageService(): LanguageService
|
||
protected function getLanguageService(): ?LanguageService
|
||
{
|
||
return $GLOBALS['LANG'];
|
||
return $GLOBALS['LANG'] ?? null;
|
||
}
|
||
}
|