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/DevicesDetection/Archiver.php')
-rw-r--r--plugins/DevicesDetection/Archiver.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/DevicesDetection/Archiver.php b/plugins/DevicesDetection/Archiver.php
index ea63485017..9f268f85a0 100644
--- a/plugins/DevicesDetection/Archiver.php
+++ b/plugins/DevicesDetection/Archiver.php
@@ -87,8 +87,7 @@ class Archiver extends \Piwik\Plugin\Archiver
}
while ($conversionRow = $query->fetch()) {
-
- $metrics->sumMetricsGoals($conversionRow[$labelSQL], $conversionRow);
+ $metrics->sumMetricsGoals(isset($conversionRow[$labelSQL]) ? $conversionRow[$labelSQL] : null, $conversionRow);
}
$metrics->enrichMetricsWithConversions();
}