diff --git a/classes/template/PKPTemplateManager.php b/classes/template/PKPTemplateManager.php index 417b10bde51..f56b93cff8f 100644 --- a/classes/template/PKPTemplateManager.php +++ b/classes/template/PKPTemplateManager.php @@ -303,6 +303,7 @@ public function initialize($request) $this->registerPlugin('modifier', 'substr', 'substr'); $this->registerPlugin('modifier', 'strstr', 'strstr'); $this->registerPlugin('modifier', 'array_key_first', 'array_key_first'); + $this->registerPlugin('modifier', 'fatalError', 'fatalError'); $this->registerPlugin('modifier', 'translate', [$this, 'smartyTranslateModifier']); $this->registerPlugin('modifier', 'strip_unsafe_html', '\PKP\core\PKPString::stripUnsafeHtml'); $this->registerPlugin('modifier', 'String_substr', '\PKP\core\PKPString::substr');