PrestaShopCorp / bpostshm

3 stars 5 forks source link

Bug country settings with multiple language availables #12

Closed tchauviere closed 9 years ago

tchauviere commented 9 years ago

If the shop has multiple language activated, you will have an array instead of a string here: https://github.com/PrestaShop/bpostshm/blob/master/bpostshm.php#L876

And this will cause the following: capture d ecran 2015-01-29 11 40 52

The workaround is to do the following:

$country = new Country((int)$id_country, (int)$this->context->employee->id_lang);
Stigmi commented 9 years ago

This code has been removed and was part of the "create a zone" functionality that has been dropped.

tchauviere commented 9 years ago

Fixed!