Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/ViewDataTable.php')
-rw-r--r--core/ViewDataTable.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/ViewDataTable.php b/core/ViewDataTable.php
index bf4340c30d..c450cc80f5 100644
--- a/core/ViewDataTable.php
+++ b/core/ViewDataTable.php
@@ -566,9 +566,9 @@ abstract class Piwik_ViewDataTable
*/
protected function getDefaultOrCurrent( $nameVar )
{
- if(isset($_REQUEST[$nameVar]))
+ if(isset($_GET[$nameVar]))
{
- return htmlspecialchars($_REQUEST[$nameVar]);
+ return htmlspecialchars($_GET[$nameVar]);
}
$default = $this->getDefault($nameVar);
return $default;