diff options
author | Stefan Giehl <stefan@matomo.org> | 2022-02-22 01:08:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-22 01:08:13 +0300 |
commit | d21506d79b168abc01a771bdccfd2c849b926215 (patch) | |
tree | 597cb0c50d98b147832517c28f65ef2b9d738748 /plugins/CustomDimensions | |
parent | fe734297e24cea49d1ca3a35b4879e17f92b2921 (diff) |
Fix possible warning (#18830)
Diffstat (limited to 'plugins/CustomDimensions')
-rw-r--r-- | plugins/CustomDimensions/Archiver.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/CustomDimensions/Archiver.php b/plugins/CustomDimensions/Archiver.php index 262c7807ec..ebb781cd8b 100644 --- a/plugins/CustomDimensions/Archiver.php +++ b/plugins/CustomDimensions/Archiver.php @@ -257,6 +257,10 @@ class Archiver extends \Piwik\Plugin\Archiver $this->dataArray->sumMetricsActions($label, $row); + if (empty($row['url'])) { + continue; + } + // make sure we always work with normalized URL no matter how the individual action stores it $normalized = Tracker\PageUrl::normalizeUrl($row['url']); $row['url'] = $normalized['url']; |