Fix LegacyModule content return

This commit is contained in:
Philipp Holzer 2021-11-20 20:37:41 +01:00
parent 8bdd90066f
commit ad5b0762b0
Signed by: nupplaPhil
GPG Key ID: 24A7501396EB5432
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ class LegacyModule extends BaseModule
if (\function_exists($function_name)) {
$a = DI::app();
return $function_name($a);
return $function_name($a) ?? '';
}
return '';