newbie LAC Posted May 6, 2020 Share Posted May 6, 2020 Hello, \system\Poll\Poll.php /** * @brief URL to use instead of \IPS\Request::i()->url() */ public $url; $output = $template( $this, ( $this->url ?: \IPS\Request::i()->url() ) ); \applications\core\dev\html\global\global\poll.phtml \applications\core\dev\html\global\global\pollForm.phtml You're use the $url variable for all buttons but not for form action. <form accept-charset='utf-8' class="ipsForm {$class}" action="{$action}" It causes issues E.g. in the Forum Poll Widget you are use the $url. \applications\forums\dev\html\front\widgets\pollFormWidget.phtml <form accept-charset='utf-8' class="ipsForm {$class}" action="{$url->setQueryString( 'do', 'widgetPoll' )}" BomAle 1 Link to comment Share on other sites More sharing options...
bfarber Posted May 6, 2020 Share Posted May 6, 2020 Does changing the template from using $action to the poll $url property still work and resolve the issue you are facing? Link to comment Share on other sites More sharing options...
newbie LAC Posted May 6, 2020 Author Share Posted May 6, 2020 8 minutes ago, bfarber said: Does changing the template from using $action to the poll $url property still work and resolve the issue you are facing? Yes. IP-Gamers 1 Link to comment Share on other sites More sharing options...
Solution bfarber Posted May 7, 2020 Solution Share Posted May 7, 2020 I'm submitting a change for review to adjust the action to use $url instead BomAle 1 Link to comment Share on other sites More sharing options...
Recommended Posts