Skip to content

Commit c4b394a

Browse files
committed
MAGETWO-96118: Few optimizations on category & product pages
1 parent c683dde commit c4b394a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Interception/PluginList/PluginList.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ public function getPlugin($type, $code)
264264
public function getNext($type, $method, $code = '__self')
265265
{
266266
$this->_loadScopedData();
267-
if ($this->_inherited !== null && !isset($this->_inherited[$type]) && !array_key_exists($type, $this->_inherited)) {
267+
if (!isset($this->_inherited[$type]) && !array_key_exists($type, $this->_inherited)) {
268268
$this->_inheritPlugins($type);
269269
}
270270
$key = $type . '_' . lcfirst($method) . '_' . $code;

0 commit comments

Comments
 (0)