diff --git a/include/template.class.php b/include/template.class.php index 555c132dc..baf108ab6 100644 --- a/include/template.class.php +++ b/include/template.class.php @@ -116,6 +116,7 @@ class Template $this->smarty->registerPlugin('modifier', 'stripslashes', 'stripslashes'); $this->smarty->registerPlugin('modifier', 'in_array', 'in_array'); $this->smarty->registerPlugin('modifier', 'ucfirst', 'ucfirst'); + $this->smarty->registerPlugin('modifier', 'strstr', 'strstr'); $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') );