From: Jan Paul Tuecking Date: Fri, 6 Sep 2013 20:05:10 +0000 (+0200) Subject: tor: fixed display of not founded country flags in tor.cgi X-Git-Tag: v2.13-core73~19^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ae666bf128e8660512a6fe0a12eda22c4b126446;p=people%2Fms%2Fipfire-2.x.git tor: fixed display of not founded country flags in tor.cgi --- diff --git a/html/cgi-bin/tor.cgi b/html/cgi-bin/tor.cgi index 689a80aee1..b6526b91cb 100755 --- a/html/cgi-bin/tor.cgi +++ b/html/cgi-bin/tor.cgi @@ -607,7 +607,7 @@ END END if (exists($node->{'country_code'})) { - if ($node->{'country_code'} eq '??') { + if (!$node->{'country_code'} or $node->{'country_code'} eq '??') { print ""; } else { print "$node->{";