Update src/App/Page.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
2f4e19a82f
commit
85304b6e8f
|
@ -350,7 +350,7 @@ class Page implements ArrayAccess
|
||||||
$moduleClass = $module->getClass();
|
$moduleClass = $module->getClass();
|
||||||
|
|
||||||
$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'];
|
||||||
$arr = ['content' => $moduleClass->content()];
|
$arr = ['content' => $moduleClass->content()];
|
||||||
Hook::callAll($moduleClass->getClassName() . '_mod_aftercontent', $arr);
|
Hook::callAll($moduleClass->getClassName() . '_mod_aftercontent', $arr);
|
||||||
|
|
Loading…
Reference in a new issue