Index: temp/test-xoops.ec-cube.net/html/modules/xoopspoll/pollrating.php
===================================================================
--- temp/test-xoops.ec-cube.net/html/modules/xoopspoll/pollrating.php	(revision 872)
+++ temp/test-xoops.ec-cube.net/html/modules/xoopspoll/pollrating.php	(revision 873)
@@ -50,5 +50,5 @@
 switch($_POST['mode']) {
 	case 'rating':
-		$arrErr = lfErrCheck($_POST);
+		$arrErr = lfErrCheck($_POST, $option_id, $poll_id);
 		if(count($arrErr) <= 0) {
 			$poll = new XoopsPoll($poll_id);
@@ -95,5 +95,5 @@
 //---------------------------------------------------------------------------------------------------
 
-function lfErrCheck($arrForm, $option_id) {
+function lfErrCheck($arrForm, $option_id, $poll_id) {
 	
 	$body_len = 200;
