Jump to content

Recommended Posts

Posted

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' )}"


 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...