Fix LegacyModule init()

This commit is contained in:
Philipp Holzer 2021-11-19 20:21:37 +01:00
parent 645e4edc63
commit 296a9070a0
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432

View file

@ -89,8 +89,8 @@ 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);
} else { }
return parent::{$function_suffix}();
} return '';
} }
} }