Skip to content

Commit 29fed52

Browse files
committed
Merge remote-tracking branch 'karyna/php8-compatibility/fix-incorrect-bind-in-store-resource-to-fix-mftf' into platform-health
2 parents 7e5447b + 965e5ad commit 29fed52

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Store/Model/ResourceModel

1 file changed

+1
-1
lines changed

app/code/Magento/Store/Model/ResourceModel/Store.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ protected function _changeGroup(\Magento\Framework\Model\AbstractModel $model)
147147
)->where(
148148
$connection->quoteInto('group_id=?', $model->getOriginalGroupId())
149149
);
150-
$storeId = $connection->fetchOne($select, 'default_store_id');
150+
$storeId = $connection->fetchOne($select);
151151

152152
if ($storeId == $model->getId()) {
153153
$bind = ['default_store_id' => \Magento\Store\Model\Store::DEFAULT_STORE_ID];

0 commit comments

Comments
 (0)