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:
5456ef0
)
Avoiding a notice
author
Michael
<heluecht@pirati.ca>
Sun, 30 Sep 2018 20:40:40 +0000
(20:40 +0000)
committer
Michael
<heluecht@pirati.ca>
Sun, 30 Sep 2018 20:40:40 +0000
(20:40 +0000)
index.php
patch
|
blob
|
history
diff --git
a/index.php
b/index.php
index
46b95c7
..
f535bcc
100644
(file)
--- a/
index.php
+++ b/
index.php
@@
-353,7
+353,7
@@
if ($a->module_loaded) {
// "rawContent" is especially meant for technical endpoints.
// This endpoint doesn't need any theme initialization or other comparable stuff.
- if (!$a->error && $a->module_class) {
+ if (!$a->error && $a->module_class
&& method_exists($a->module_class, 'rawContent')
) {
call_user_func([$a->module_class, 'rawContent']);
}