diff --git a/static/js/pandora/statisticsDialog.js b/static/js/pandora/statisticsDialog.js index 9461a6398..696edc458 100644 --- a/static/js/pandora/statisticsDialog.js +++ b/static/js/pandora/statisticsDialog.js @@ -147,7 +147,7 @@ pandora.ui.statisticsDialog = function() { country = split[1]; city = split[0]; } - countryData = Ox.getCountryByName(country); + countryData = Ox.getCountryByName(country) || {continent: '', region: ''}; continent = countryData.continent; region = [continent, countryData.region].join(', '); country = [region, country].join(', ')