Merge pull request #10992 from nupplaphil/bug/module
Hotfix: Deleted content
This commit is contained in:
commit
85d162d1d2
|
@ -352,6 +352,7 @@ class Page implements ArrayAccess
|
||||||
$arr = ['content' => $content];
|
$arr = ['content' => $content];
|
||||||
Hook::callAll($moduleClass->getClassName() . '_mod_content', $arr);
|
Hook::callAll($moduleClass->getClassName() . '_mod_content', $arr);
|
||||||
$content = $arr['content'];
|
$content = $arr['content'];
|
||||||
|
$content .= $module->getModule()->content();
|
||||||
} catch (HTTPException $e) {
|
} catch (HTTPException $e) {
|
||||||
$content = (new ModuleHTTPException())->content($e);
|
$content = (new ModuleHTTPException())->content($e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue