I'm using Advanced Poll. I have recently modified the way I generate my content pages so that each page requires an id to be passed to the PHP as a GET variable. The result of this is that when you vote in a poll, it redirects to the wrong page, because it doesn't pass in the variable.
I can't figure out how to access a PHP variable from the Advanced Poll template. I tried editing this line: