diff --git a/include/template.class.php b/include/template.class.php index 2d40e52a1..6954f5f36 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', 'stristr', 'stristr'); $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') );