mirror of
https://github.com/friendica/friendica
synced 2024-12-22 18:40:17 +00:00
Avoiding a notice
This commit is contained in:
parent
5456ef0185
commit
0769a115aa
1 changed files with 1 additions and 1 deletions
|
@ -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']);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue