Fix LegacyModule content return
This commit is contained in:
parent
8bdd90066f
commit
ad5b0762b0
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ class LegacyModule extends BaseModule
|
||||||
|
|
||||||
if (\function_exists($function_name)) {
|
if (\function_exists($function_name)) {
|
||||||
$a = DI::app();
|
$a = DI::app();
|
||||||
return $function_name($a);
|
return $function_name($a) ?? '';
|
||||||
}
|
}
|
||||||
|
|
||||||
return '';
|
return '';
|
||||||
|
|
Loading…
Reference in a new issue