From: fabrixxm Date: Tue, 13 Nov 2018 13:37:51 +0000 (+0100) Subject: Fix Notice in LegacyModule X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=972775e58ea85916410b59929b1d804adb9d1ae6;p=friendica.git Fix Notice in LegacyModule Notice: Only variables should be passed by reference in src/LegacyModule.php on line 68 --- diff --git a/src/LegacyModule.php b/src/LegacyModule.php index 737101b5c2..5ef2a0ee61 100644 --- a/src/LegacyModule.php +++ b/src/LegacyModule.php @@ -65,7 +65,8 @@ class LegacyModule extends BaseModule $function_name = static::$moduleName . '_' . $function_suffix; if (\function_exists($function_name)) { - return $function_name(self::getApp()); + $a = self::getApp(); + return $function_name($a); } else { return parent::{$function_suffix}(); }