Skip to content

Commit

Permalink
fix: country code value (#401)
Browse files Browse the repository at this point in the history
  • Loading branch information
fox-john authored Jan 10, 2025
1 parent 70f0f70 commit f6409b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Repository/InfoRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function getShopCountryCode()
{
$this->generateMinimalQuery('country', 'c');

$this->query->where('c.active = 1');
$this->query->where('c.id_country = ' . \Configuration::get('PS_COUNTRY_DEFAULT'));
$this->query->select('c.iso_code');

return (string) $this->db->getValue($this->query);
Expand Down

0 comments on commit f6409b9

Please sign in to comment.