Fix multiple search countries
This commit is contained in:
@@ -33,7 +33,7 @@ class ProductsCompareController extends Controller
|
||||
if ($countries != null && count($countries)) {
|
||||
$hCountry = CountryCode::countryHash();
|
||||
$countries = $countries->map(function ($country) use ($hCountry) {
|
||||
return $hCountry[$country];
|
||||
return $hCountry[$country["name"]];
|
||||
});
|
||||
} else {
|
||||
$countries = [];
|
||||
|
||||
Reference in New Issue
Block a user