From 79ccefaaa817352fde319f759a873016f78a788e Mon Sep 17 00:00:00 2001 From: Phillip Ball Date: Fri, 10 Jun 2011 13:31:26 -0700 Subject: [PATCH] passes configuration for module through to getComments action of comment controller --- plugins/function.comments.php | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/function.comments.php b/plugins/function.comments.php index 3abd89ed66..fc4704f443 100644 --- a/plugins/function.comments.php +++ b/plugins/function.comments.php @@ -37,6 +37,7 @@ function smarty_function_comments($params,&$smarty) { 'hidecomments'=>$hidecomments, 'title'=>$title, 'formtitle'=>$formtitle, + 'config'=>$smarty->_tpl_vars['config'], 'require_login'=>$require_login, 'require_approval'=>$require_approval, 'require_notification'=>$require_notification,