From 23c73ca83943fb720addebe461286bc4ff3679b9 Mon Sep 17 00:00:00 2001 From: Fredrick Brennan Date: Sat, 20 Sep 2014 15:21:50 +0000 Subject: Allow the user to decide whether or not he wants to display his country --- post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'post.php') diff --git a/post.php b/post.php index 033e5ab5..2763d4d3 100644 --- a/post.php +++ b/post.php @@ -487,7 +487,7 @@ if (isset($_POST['delete'])) { $post['body'] .= "\n1"; } - if ($config['country_flags']) { + if (($config['country_flags'] && !$config['allow_no_country']) || ($config['country_flags'] && $config['allow_no_country'] && !isset($_POST['no_country']))) { require 'inc/lib/geoip/geoip.inc'; $gi=geoip\geoip_open('inc/lib/geoip/GeoIPv6.dat', GEOIP_STANDARD); -- cgit v1.3