composer update (#1104)

This commit is contained in:
Kevin Papst
2019-09-13 17:16:53 +02:00
committed by GitHub
parent 8f2b82b832
commit 35c65ba890
10 changed files with 664 additions and 480 deletions

View File

@@ -168,7 +168,12 @@ class Extensions extends AbstractExtension
*/
public function country($country)
{
return Countries::getName($country);
$country = strtoupper($country);
if (Countries::exists($country)) {
return Countries::getName($country);
}
return $country;
}
/**