Index: /temp/test-xoops.ec-cube.net/html/modules/xoopspoll/templates/xoopspoll_new.html
===================================================================
--- /temp/test-xoops.ec-cube.net/html/modules/xoopspoll/templates/xoopspoll_new.html	(revision 773)
+++ /temp/test-xoops.ec-cube.net/html/modules/xoopspoll/templates/xoopspoll_new.html	(revision 774)
@@ -25,4 +25,5 @@
 	<form name="form1" id="form1" method="post" action="./pollnew.php">
 	<input type="hidden" name="mode" value="regist">
+	<input type="hidden" name="poll_id" value="<{$poll_id}>">
 		<tr><td height="20"></td></tr>
 		<tr>
Index: /temp/test-xoops.ec-cube.net/html/modules/xoopspoll/pollnew.php
===================================================================
--- /temp/test-xoops.ec-cube.net/html/modules/xoopspoll/pollnew.php	(revision 773)
+++ /temp/test-xoops.ec-cube.net/html/modules/xoopspoll/pollnew.php	(revision 774)
@@ -33,4 +33,6 @@
 include_once XOOPS_ROOT_PATH."/modules/xoopspoll/class/xoopspollrenderer.php";
 
+$poll_id = $_GET['poll_id'];
+if(empty($poll_id)) $poll_id = $_POST['poll_id'];
 
 switch($_POST['mode']) {
@@ -52,5 +54,4 @@
 }
 
-
 $xoopsOption['template_main'] = 'xoopspoll_new.html';
 include XOOPS_ROOT_PATH."/header.php";
@@ -58,5 +59,5 @@
 $xoopsTpl->assign('arrStatus', $arrStatus);
 $xoopsTpl->assign('arrCat', $arrCategory);
-$xoopsTpl->assign('arrRating', $arrRating);
+$xoopsTpl->assign('poll_id', $poll_id);
 
 include XOOPS_ROOT_PATH."/footer.php";
