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
path: root/js
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@gmail.com>2016-03-29 08:06:54 +0300
committerThomas Steur <thomas.steur@gmail.com>2016-03-29 08:06:54 +0300
commit0ac1279792b10eafc50ef96b4474a86d1c840333 (patch)
tree0302d39cff048ecf0d998e209d69a253b3ef170a /js
parent9c0f876ef7e75b39c55a162cafde1125825b7d9d (diff)
refs #9954 attach request only if a request url is actually set
Diffstat (limited to 'js')
-rw-r--r--js/piwik.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/piwik.js b/js/piwik.js
index cd00196bd2..c5597236c5 100644
--- a/js/piwik.js
+++ b/js/piwik.js
@@ -4497,7 +4497,9 @@ if (typeof window.Piwik !== 'object') {
'contentImpressions'
);
- requests.push(request);
+ if (request) {
+ requests.push(request);
+ }
}
return requests;