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 a483401 commit 3a9161cCopy full SHA for 3a9161c
lib/internal/Magento/Framework/Model/AbstractModel.php
@@ -482,7 +482,7 @@ protected function _getResource()
482
new \Magento\Framework\Phrase('The resource isn\'t set.')
483
);
484
}
485
- return $this->_resource ?: \Magento\Framework\App\ObjectManager::getInstance()->create ($this->_resourceName);
+ return $this->_resource ?: \Magento\Framework\App\ObjectManager::getInstance()->get($this->_resourceName);
486
487
488
/**
0 commit comments