Index: temp/test-xoops.ec-cube.net/html/modules/xoopspoll/pollrating.php
===================================================================
--- temp/test-xoops.ec-cube.net/html/modules/xoopspoll/pollrating.php	(revision 825)
+++ temp/test-xoops.ec-cube.net/html/modules/xoopspoll/pollrating.php	(revision 828)
@@ -71,5 +71,5 @@
 
 $renderer->assignOption($xoopsTpl, $option_id);
-$renderer->assignComment($xoopsTpl, $option_id);
+$count = $renderer->assignComment($xoopsTpl, $option_id);
 
 $nav = new XoopsPageNav($count, POLL_OPTION_VIEW, $start, "start", 'poll_id='.$poll_id.'&amp;option_id='.$option_id);
