* 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 f26c334d47
commit 702e29a5cb

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]. '"/>';
}