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/themes
diff options
context:
space:
mode:
authorvipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-05-27 02:00:51 +0400
committervipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-05-27 02:00:51 +0400
commit23849401aeb8f980c44c77b026eda2f33588519b (patch)
treee96702f376e3d280fac53f213f7d0d53611d7399 /themes
parent0c12a2d2aa1373bf5f236b81712592402fd700bc (diff)
Fix "'length' is null or not an object" error reportedy by some IE
users. (Shouldn't be necessary if dashboard widgets load properly.)
Diffstat (limited to 'themes')
-rw-r--r--themes/default/common.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/common.js b/themes/default/common.js
index 9f012b7105..4920a9d7ba 100644
--- a/themes/default/common.js
+++ b/themes/default/common.js
@@ -12,7 +12,7 @@ function piwikHelper()
piwikHelper.getQueryStringFromParameters = function(parameters)
{
var queryString = '';
- if(parameters.length==0) {
+ if(!parameters || parameters.length==0) {
return queryString;
}
for(var name in parameters) {