From: Philipp Date: Sat, 20 Nov 2021 19:37:41 +0000 (+0100) Subject: Fix LegacyModule content return X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ad5b0762b053275529efbf827c448b6a8cf014ba;p=friendica.git Fix LegacyModule content return --- diff --git a/src/LegacyModule.php b/src/LegacyModule.php index aae7db50a2..bd1792ca59 100644 --- a/src/LegacyModule.php +++ b/src/LegacyModule.php @@ -92,7 +92,7 @@ class LegacyModule extends BaseModule if (\function_exists($function_name)) { $a = DI::app(); - return $function_name($a); + return $function_name($a) ?? ''; } return '';