* fixed PHP warning about country not existing on online and characteres pages

This commit is contained in:
slawkens 2018-01-08 11:47:02 +01:00
parent f09c30d370
commit a083dd048d

View File

@ -156,6 +156,10 @@ function getFlagImage($country)
if(!isset($config['countries']))
require(SYSTEM . 'countries.conf.php');
if(!isset($config['countries'][$country])) {
return '';
}
return '<img src="images/flags/' . $country . '.gif" title="' . $config['countries'][$country]. '"/>';
}