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