xoops forums

Zirafka

Just popping in
Posted on: 2016/12/30 20:58
Zirafka
Zirafka (Show more)
Just popping in
Posts: 70
Since: 2008/8/9 1
#1

Error in module "xoopspoll" version 1.4.

In module XOOPSPOLL is error on file TEMPLATES/XOOPSPOLL_BLOCK_SINGLEPOLL.TPL. This error create wrong link to comments.

How to repair?

Find:

89  <a href='<{$xoops_url}>/modules/xoopspoll/pollresults.php?poll_id=<{$poll.id}>'><{$block.comments}> <{$block.langComment}></a>
90  <{ elseif ($block.comments 1)}>
91  <a href='<{$xoops_url}>/modules/xoopspoll/pollresults.php?poll_id=<{$poll.id}>'><{$block.comments}> <{$block.langComments}></a>
92  <{ else}>
93  <a href='<{$xoops_url}>/modules/xoopspoll/pollresults.php?poll_id=<{$poll.id}>'><{$block.langComments}>


and change to:

89  <a href='<{$xoops_url}>/modules/xoopspoll/pollresults.php?poll_id=<{$block.id}>'><{$block.comments}> <{$block.langComment}></a>
90  <{ elseif ($block.comments 1)}>
91  <a href='<{$xoops_url}>/modules/xoopspoll/pollresults.php?poll_id=<{$block.id}>'><{$block.comments}> <{$block.langComments}></a>
92  <{ else}>
93  <a href='<{$xoops_url}>/modules/xoopspoll/pollresults.php?poll_id=<{$block.id}>'><{$block.langComments}>


That is all :)