https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
320c986
)
Fix Notice in LegacyModule
author
fabrixxm
<fabrix.xm@gmail.com>
Tue, 13 Nov 2018 13:37:51 +0000
(14:37 +0100)
committer
GitHub
<noreply@github.com>
Tue, 13 Nov 2018 13:37:51 +0000
(14:37 +0100)
Notice: Only variables should be passed by reference in src/LegacyModule.php on line 68
src/LegacyModule.php
patch
|
blob
|
history
diff --git
a/src/LegacyModule.php
b/src/LegacyModule.php
index
737101b
..
5ef2a0e
100644
(file)
--- 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}();
}