diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-09-09 21:22:16 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-09-09 21:22:16 +0400 |
commit | 34f48f693be7b4c7cda5ce429a7259bd59b3f741 (patch) | |
tree | 3853573ee5dfe269de685858845df02fb19a6c0b /plugins | |
parent | 36b6aed37941afef152bac49d6d4db0f86dcec70 (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')
-rw-r--r-- | plugins/Contents/Archiver.php | 6 |
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); } } |