Fix LegacyModule content return
This commit is contained in:
parent
8bdd90066f
commit
ad5b0762b0
|
@ -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 '';
|
||||
|
|
Loading…
Reference in New Issue
Block a user