Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Visitor Generator Plugin - idSite not being set from form (POST variable) #1727

Closed
anonymous-piwik-user opened this Issue · 1 comment

2 participants

@anonymous-piwik-user

The visitor generator plugin will always write it's data to idSite = 1 - even when the user selects a different site from the dropdown.

The input form uses both request variables and post variables - the request idSite is the current site ID that the superuser is set to view (which in my case is always 1 when i choose settings) whilst the idSite from the dropdown box is being passed as a post. When the controller goes to retrieve the dropdown variable it returns the value from the URL, not from the POST.

The fix is to rename the site dropdown box variable so it gets passed properly to the controller.

@robocoder

(In [3173]) fixes #1727

@anonymous-piwik-user anonymous-piwik-user added this to the Piwik 1.1 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.