Avoiding a notice
This commit is contained in:
parent
5456ef0185
commit
0769a115aa
|
@ -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