]> git.mxchange.org Git - friendica.git/blobdiff - src/LegacyModule.php
Merge pull request #6436 from annando/notice
[friendica.git] / src / LegacyModule.php
index 737101b5c287ac911fa2649344bf41218cf423ba..5ef2a0ee612e30a00fb1fc6722736433dbcb9904 100644 (file)
@@ -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}();
                }