diff --git a/src/LegacyModule.php b/src/LegacyModule.php index 77b35ba92..d307d84ac 100644 --- a/src/LegacyModule.php +++ b/src/LegacyModule.php @@ -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 ''; } }