Avoiding a notice

This commit is contained in:
Michael 2018-09-30 20:40:40 +00:00
parent 5456ef0185
commit 0769a115aa
1 changed files with 1 additions and 1 deletions

View File

@ -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']);
}