fix: Fixes bug that stops country flag being displayed alongside the coutry in galaxy clusters

pull/7205/head
Tom King 2021-03-15 12:48:46 +00:00
parent d7228de232
commit f320e030dc
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ if ($key === 'refs' &&
) {
echo '<a href="' . h($value) . '" rel="noreferrer noopener">' . h($value) . '</a>';
} else if ($key === 'country') {
echo $this->Icon->countryFlag($item['GalaxyElement']['value']) . ' ' . h($value);
echo $this->Icon->countryFlag($value) . ' ' . h($value);
} else {
echo h($value);
}