Skip to content

Commit a374623

Browse files
committed
MAGETWO-96921: Minor changes in Product Widget Chooser
1 parent 0d53494 commit a374623

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Catalog/Controller/Adminhtml/Product/Widget

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Controller/Adminhtml/Product/Widget/Chooser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function __construct(
5050
parent::__construct($context);
5151
$this->resultRawFactory = $resultRawFactory;
5252
$this->layoutFactory = $layoutFactory;
53-
$this->escaper = $escaper ?: ObjectManager::getInstance()->create(\Magento\Framework\Escaper::class);
53+
$this->escaper = $escaper ?: ObjectManager::getInstance()->get(\Magento\Framework\Escaper::class);
5454
}
5555

5656
/**

0 commit comments

Comments
 (0)