Skip to content

Commit

Permalink
[BUGFIX] Handle missing global LANG (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
liayn authored Mar 17, 2022
1 parent fab988a commit e1be692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Provider/StatusReportProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ protected function initialize()
*/
protected function getLanguageService(): LanguageService
{
if ($GLOBALS['LANG'] === null) {
if (!isset($GLOBALS['LANG'])) {
$GLOBALS['LANG'] = GeneralUtility::makeInstance(LanguageService::class);
}
return $GLOBALS['LANG'];
Expand Down

0 comments on commit e1be692

Please sign in to comment.