Update src/App/Page.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
Philipp 2021-11-16 21:12:12 +01:00 committed by GitHub
parent 2f4e19a82f
commit 85304b6e8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -350,7 +350,7 @@ class Page implements ArrayAccess
$moduleClass = $module->getClass();
$arr = ['content' => $content];
Hook::callAll( $moduleClass->getClassName() . '_mod_content', $arr);
Hook::callAll($moduleClass->getClassName() . '_mod_content', $arr);
$content = $arr['content'];
$arr = ['content' => $moduleClass->content()];
Hook::callAll($moduleClass->getClassName() . '_mod_aftercontent', $arr);