quick fix for pad.ma statistics

This commit is contained in:
rolux 2012-03-26 10:58:19 +00:00
parent 2298121c4b
commit 7db8135b61

View file

@ -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(', ')