From bee42f685fdc4515b46936e5e65a6f0869adfa53 Mon Sep 17 00:00:00 2001 From: "John.R" Date: Thu, 9 Jan 2025 17:08:06 +0100 Subject: [PATCH] fix: restore cast --- src/Repository/InfoRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }