From 38004d5d938f28c2fb1a670a24db7e26bec74614 Mon Sep 17 00:00:00 2001 From: "Willy \"Linty" Date: Mon, 11 Dec 2023 11:26:00 +0100 Subject: [PATCH] issue #1845 Theme SimpleNG requires str_ireplace php function --- include/template.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/template.class.php b/include/template.class.php index baf108ab6..2d40e52a1 100644 --- a/include/template.class.php +++ b/include/template.class.php @@ -117,6 +117,7 @@ class Template $this->smarty->registerPlugin('modifier', 'in_array', 'in_array'); $this->smarty->registerPlugin('modifier', 'ucfirst', 'ucfirst'); $this->smarty->registerPlugin('modifier', 'strstr', 'strstr'); + $this->smarty->registerPlugin('modifier', 'str_ireplace', 'str_ireplace'); $this->smarty->registerPlugin('modifier', 'explode', array('Template', 'mod_explode') ); $this->smarty->registerPlugin('modifier', 'ternary', array('Template', 'mod_ternary') ); $this->smarty->registerPlugin('modifier', 'get_extent', array($this, 'get_extent') );