Merge pull request #6123 from friendica/fabrixxm-patch-1
Fix Notice in LegacyModule
This commit is contained in:
commit
f8eb38b275
|
@ -65,7 +65,8 @@ class LegacyModule extends BaseModule
|
||||||
$function_name = static::$moduleName . '_' . $function_suffix;
|
$function_name = static::$moduleName . '_' . $function_suffix;
|
||||||
|
|
||||||
if (\function_exists($function_name)) {
|
if (\function_exists($function_name)) {
|
||||||
return $function_name(self::getApp());
|
$a = self::getApp();
|
||||||
|
return $function_name($a);
|
||||||
} else {
|
} else {
|
||||||
return parent::{$function_suffix}();
|
return parent::{$function_suffix}();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue