Fix LegacyModule init()
This commit is contained in:
parent
645e4edc63
commit
296a9070a0
1 changed files with 2 additions and 2 deletions
|
@ -89,8 +89,8 @@ class LegacyModule extends BaseModule
|
|||
if (\function_exists($function_name)) {
|
||||
$a = DI::app();
|
||||
return $function_name($a);
|
||||
} else {
|
||||
return parent::{$function_suffix}();
|
||||
}
|
||||
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue