diff options
| author | Fredrick Brennan <admin@8chan.co> | 2014-09-20 15:21:50 +0000 |
|---|---|---|
| committer | Fredrick Brennan <admin@8chan.co> | 2014-09-20 16:35:28 +0000 |
| commit | 23c73ca83943fb720addebe461286bc4ff3679b9 (patch) | |
| tree | ca31cfde85612e649a6bfb219caebe470860b1dc /post.php | |
| parent | 1ce9fb8174cd7f5fb39f87b83095caf6a47258f1 (diff) | |
Allow the user to decide whether or not he wants to display his country
Diffstat (limited to 'post.php')
| -rw-r--r-- | post.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -487,7 +487,7 @@ if (isset($_POST['delete'])) { $post['body'] .= "\n<tinyboard raw html>1</tinyboard>"; } - 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); |
