Merge pull request #10992 from nupplaphil/bug/module

Hotfix: Deleted content
This commit is contained in:
Philipp 2021-11-17 13:41:32 +01:00 committed by GitHub
commit 85d162d1d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -352,6 +352,7 @@ class Page implements ArrayAccess
$arr = ['content' => $content];
Hook::callAll($moduleClass->getClassName() . '_mod_content', $arr);
$content = $arr['content'];
$content .= $module->getModule()->content();
} catch (HTTPException $e) {
$content = (new ModuleHTTPException())->content($e);
}