diff --git a/index.php b/index.php index c18a76d..54f30f1 100644 --- a/index.php +++ b/index.php @@ -97,10 +97,10 @@ function getDayWithBan($db) { function printFlag($countryCode) { if (empty($countryCode)) { return ''; - } elseif (file_exists('img/flag/16/'.strtolower($countryCode)).'.png') { + } elseif (file_exists('img/flag/16/'.strtolower($countryCode).'.png')) { return ''.$countryCode.' flag'; } else { - return ''.$countryCode.''; + return 'Unknown '.$countryCode.''; } }