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 'plugins/ScheduledReports/API.php')
-rw-r--r--plugins/ScheduledReports/API.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/ScheduledReports/API.php b/plugins/ScheduledReports/API.php
index c4ab3e20c0..38a7923017 100644
--- a/plugins/ScheduledReports/API.php
+++ b/plugins/ScheduledReports/API.php
@@ -17,6 +17,7 @@ use Piwik\Date;
use Piwik\Db;
use Piwik\Development;
use Piwik\Filesystem;
+use Piwik\Http;
use Piwik\Log;
use Piwik\NoAccessException;
use Piwik\Piwik;
@@ -397,7 +398,7 @@ class API extends \Piwik\Plugin\API
} catch (\Exception $ex) {
// NOTE: can't use warning or error because the log message will appear in the UI as a notification
$this->logger->info("Error getting '?{report}' when generating scheduled report: {exception}", array(
- 'report' => http_build_query($params),
+ 'report' => Http::buildQuery($params),
'exception' => $ex->getMessage(),
));