Skip to content

Commit 2e28513

Browse files
authored
Update ProductHelper.php
1 parent df58a1e commit 2e28513

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Helper/Entity/ProductHelper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ public function setSettings($indexName, $indexNameTmp, $storeId, $saveToTmpIndic
463463

464464
// Managing Virtual Replica
465465
if ($this->configHelper->useVirtualReplica($storeId)) {
466-
$replicas = $this->handleVirtualReplica($replicas, $indexName);
466+
$replicas = $this->handleVirtualReplica($replicas);
467467
}
468468

469469
// Merge current replicas with sorting replicas to not delete A/B testing replica indices
@@ -1534,7 +1534,7 @@ public function productIsInStock($product, $storeId)
15341534
* @param $replica
15351535
* @return array
15361536
*/
1537-
public function handleVirtualReplica($replicas, $indexName)
1537+
public function handleVirtualReplica($replicas)
15381538
{
15391539
$virtualReplicaArray = [];
15401540
foreach ($replicas as $replica) {

0 commit comments

Comments
 (0)