From 296a9070a0ae2ba2335b73ccb26dcbb0a93681b5 Mon Sep 17 00:00:00 2001 From: Philipp Date: Fri, 19 Nov 2021 20:21:37 +0100 Subject: [PATCH] Fix LegacyModule init() --- src/LegacyModule.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ''; } }