From: <mo...@us...> - 2003-10-05 03:23:21
|
Update of /cvsroot/tikiwiki/tiki/lib/smarty_tiki In directory sc8-pr-cvs1:/tmp/cvs-serv22772/lib/smarty_tiki Modified Files: function.poll.php Log Message: fixed a problem with comments Index: function.poll.php =================================================================== RCS file: /cvsroot/tikiwiki/tiki/lib/smarty_tiki/function.poll.php,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- function.poll.php 8 Sep 2003 08:40:27 -0000 1.2 +++ function.poll.php 5 Oct 2003 03:23:18 -0000 1.3 @@ -19,7 +19,7 @@ $channels = $polllib->list_poll_options($id,0,-1,'optionId_asc',''); if ($feature_poll_comments == 'y') { $commentslib = new Comments($dbTiki); - $comments_count = $commentslib->count_comments("poll".$menu_info["pollId"]); + $comments_count = $commentslib->count_comments("poll:".$menu_info["pollId"]); } $smarty->assign('comments', $comments_count); $smarty->assign('ownurl',/*httpPrefix().*/$_SERVER["REQUEST_URI"]); |