Index: temp/test-xoops.ec-cube.net/html/modules/xoopspoll/pollregist.php
===================================================================
--- temp/test-xoops.ec-cube.net/html/modules/xoopspoll/pollregist.php	(revision 734)
+++ temp/test-xoops.ec-cube.net/html/modules/xoopspoll/pollregist.php	(revision 735)
@@ -43,10 +43,8 @@
 include XOOPS_ROOT_PATH."/header.php";
 
-$arrOption =& XoopsPollOption::getOptionByOptionId($option_id);
-$xoopsTpl->assign('arrOption', $arrOption);
- 
-$arrComment =& XoopsPollOption::getAllCommentByOptionId($option_id);
-$xoopsTpl->assign('arrComment', $arrComment);
-		
+$renderer = new XoopsPollRenderer();
+$renderer->assignOptions($xoopsTpl, $option_id);
+$renderer->assignComment($xoopsTpl, $option_id);
+
 $xoopsTpl->assign('arrStatus', $arrStatus);
 $xoopsTpl->assign('arrCat', $arrCategory);
