forked from leftypol/leftypol
Change flag_country to just flag
This commit is contained in:
parent
23f23b8301
commit
a9fe4ea2db
3 changed files with 5 additions and 5 deletions
2
post.php
2
post.php
|
@ -430,7 +430,7 @@ if (isset($_POST['delete'])) {
|
|||
error('GeoIP not available: ' . geoip_db_filename(GEOIP_COUNTRY_EDITION));
|
||||
}
|
||||
if ($country_code = @geoip_country_code_by_name($_SERVER['REMOTE_ADDR'])) {
|
||||
$post['body'] .= '<tinyboard flag_country>' . strtolower($country_code) . '</tinyboard>';
|
||||
$post['body'] .= '<tinyboard flag>' . strtolower($country_code) . '</tinyboard>';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue