bug fix in Explore business

This commit is contained in:
Hesabix 2025-04-04 20:33:51 +00:00
parent 2ac59fa0c7
commit 73344b2c75

View file

@ -533,7 +533,7 @@ class Explore
'smsCharge' => $item->getSmsCharge(),
'shortlinks' => $item->isShortlinks(),
'walletEnabled' => $item->isWalletEnable(),
'walletMatchBank' => $item->getWalletMatchBank()->getId(),
'walletMatchBank' => $item->getWalletMatchBank() ? $item->getWalletMatchBank()->getId() : null,
'updateSellPrice' => $item->isCommodityUpdateSellPriceAuto(),
'updateBuyPrice' => $item->isCommodityUpdateBuyPriceAuto(),
];