From 5a47388d6481773808ca2149b8df91f50932418e Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 26 Mar 2012 10:45:45 +0000 Subject: [PATCH] quick fix for pad.ma statistics --- static/js/pandora/statisticsDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/pandora/statisticsDialog.js b/static/js/pandora/statisticsDialog.js index 2d769979..b6445da4 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(', ')