From 440dd66a18d5f3f58c20f297e5c7d7be1741c77b Mon Sep 17 00:00:00 2001 From: lsces Date: Sun, 7 Feb 2016 17:23:09 +0000 Subject: Move from Smarty2 to Smarty3 function style --- modules/mod_global_search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/mod_global_search.php b/modules/mod_global_search.php index 21cad84..f658299 100644 --- a/modules/mod_global_search.php +++ b/modules/mod_global_search.php @@ -30,5 +30,5 @@ if( empty( $contentTypes ) ) { } } } -$gBitSmarty->assign( 'contentTypes', $contentTypes ); +$_template->tpl_vars['contentTypes'] = new Smarty_variable( $contentTypes ); ?> -- cgit v1.3