Merge pull request #231 from gpedro/fix/issue-227

resolves #227
This commit is contained in:
Stefan A. Brannfjell 2016-05-04 23:47:53 +02:00
commit 2018200561
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ if (isset($_GET['name']) === true && empty($_GET['name']) === false)
if ($config['country_flags'])
{ ?>
<!-- Player country data -->
<li><font class="profile_font" name="profile_font_country">Country: <?php echo '<img src="\flags\\' . $account_data['flag'] . '.png">'; ?></font></li><?php
<li><font class="profile_font" name="profile_font_country">Country: <?php echo '<img src="flags/' . $account_data['flag'] . '.png">'; ?></font></li><?php
} ?>
<!-- Player male / female -->

View File

@ -89,7 +89,7 @@ if ($scores) {
$profile_data = user_character_data($scores[$type][$i]['id'], 'account_id');
$account_data = user_znote_account_data($profile_data['account_id'], 'flag');
if ($config['country_flags'] === true && count($account_data['flag']) > 1) $flag = '<img src="\flags\\' . $account_data['flag'] . '.png"> ';
if ($config['country_flags'] === true && count($account_data['flag']) > 1) $flag = '<img src="flags/' . $account_data['flag'] . '.png"> ';
else $flag = '';
?>
<tr>