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/API/Request.php')
-rw-r--r--core/API/Request.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/API/Request.php b/core/API/Request.php
index 7b81cbaede..cf323f4483 100644
--- a/core/API/Request.php
+++ b/core/API/Request.php
@@ -500,6 +500,7 @@ class Request
$params['serialize'] = '0';
$params['module'] = 'API';
$params['method'] = $method;
+ $params['compare'] = '0';
$params = $paramOverride + $params;
// process request
@@ -556,6 +557,10 @@ class Request
}
}
+ $params['compareDates'] = null;
+ $params['comparePeriods'] = null;
+ $params['compareSegments'] = null;
+
return Url::getCurrentQueryStringWithParametersModified($params);
}