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:
authorThomas Steur <thomas.steur@googlemail.com>2014-09-09 21:22:16 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-09-09 21:22:16 +0400
commit34f48f693be7b4c7cda5ce429a7259bd59b3f741 (patch)
tree3853573ee5dfe269de685858845df02fb19a6c0b /plugins/Contents/Archiver.php
parent36b6aed37941afef152bac49d6d4db0f86dcec70 (diff)
refs #4996 more bugfixes, more work on cross browser, added possibility to track content via php tracker (not tested yet)
Diffstat (limited to 'plugins/Contents/Archiver.php')
-rw-r--r--plugins/Contents/Archiver.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/Contents/Archiver.php b/plugins/Contents/Archiver.php
index debac613a9..55668b4c3a 100644
--- a/plugins/Contents/Archiver.php
+++ b/plugins/Contents/Archiver.php
@@ -265,6 +265,12 @@ class Archiver extends \Piwik\Plugin\Archiver
continue;
}
+ // content piece is optional
+ if ($subDimension == 'contentPiece'
+ && empty($subLabel)) {
+ $subLabel = self::CONTENT_PIECE_NOT_SET;
+ }
+
$dataArray->sumMetricsContentsImpressionPivot($mainLabel, $subLabel, $row);
}
}