From ae666bf128e8660512a6fe0a12eda22c4b126446 Mon Sep 17 00:00:00 2001 From: Jan Paul Tuecking Date: Fri, 6 Sep 2013 22:05:10 +0200 Subject: [PATCH] tor: fixed display of not founded country flags in tor.cgi --- html/cgi-bin/tor.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/cgi-bin/tor.cgi b/html/cgi-bin/tor.cgi index 689a80aee..b6526b91c 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->{"; -- 2.39.2