diff --git a/src/Repository/InfoRepository.php b/src/Repository/InfoRepository.php index ffe3351f..22a2905b 100644 --- a/src/Repository/InfoRepository.php +++ b/src/Repository/InfoRepository.php @@ -70,6 +70,6 @@ public function getShopCountryCode() $this->query->where('c.id_country = ' . \Configuration::get('PS_COUNTRY_DEFAULT')); $this->query->select('c.iso_code'); - return $this->db->getValue($this->query); + return (string) $this->db->getValue($this->query); } }