Project

General

Profile

Bug #97972 ยป patch.diff

David Mellen, 2022-07-20 06:17

View differences:

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;
}
}
    (1-1/1)