Skip to content

Commit

Permalink
Fix Php Cs
Browse files Browse the repository at this point in the history
  • Loading branch information
BadPixxel committed Feb 26, 2025
1 parent ce88876 commit 4f76db6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/splashsync/src/Objects/ThirdParty/AddressesTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

//====================================================================//
// Prestashop Static Classes
use Db;
use Translate;

/**
Expand Down Expand Up @@ -84,7 +85,7 @@ private function getAddressesList()
// Read Address List from Database (Also Collect Deleted Addresses)
$sql = 'SELECT DISTINCT a.* FROM `'._DB_PREFIX_.'address` a
WHERE `id_customer` = '.(int) $this->object->id;
$addressList = \Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($sql);
$addressList = Db::getInstance()->executeS($sql);
//====================================================================//
// If Address List Is Empty => Null
if (empty($addressList)) {
Expand Down

0 comments on commit 4f76db6

Please sign in to comment.