Hotfix: Deleted content

2022.09-rc
Philipp 2021-11-17 13:39:48 +01:00
rodzic 190efcefad
commit de6bb280b1
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 24A7501396EB5432
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -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);
} }