We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac82764 commit f1176b2Copy full SHA for f1176b2
app/code/Magento/Catalog/Model/Indexer/Category/Product/Plugin/TableResolver.php
@@ -64,7 +64,9 @@ public function afterGetTableName(
64
string $result,
65
$modelEntity
66
) {
67
- $areaCode = $this->state->getAreaCode();
+ $objectManager = \Magento\Framework\App\ObjectManager::getInstance();
68
+ $state = $objectManager->get('Magento\Framework\App\State');
69
+ $areaCode = $state->getAreaCode();
70
71
if (!is_array($modelEntity) &&
72
$modelEntity === AbstractAction::MAIN_INDEX_TABLE &&
0 commit comments