Fix LegacyModule content return

This commit is contained in:
Philipp 2021-11-20 20:37:41 +01:00
parent 8bdd90066f
commit ad5b0762b0
No known key found for this signature in database
GPG Key ID: 24A7501396EB5432

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 '';