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 5973d67 commit 25b0343Copy full SHA for 25b0343
app/code/Magento/Catalog/Controller/Adminhtml/Category/Validate.php
@@ -36,11 +36,8 @@ public function __construct(
36
*/
37
public function execute()
38
{
39
- $response = new \Magento\Framework\DataObject();
40
- $response->setError(0);
41
-
42
$resultJson = $this->resultJsonFactory->create();
43
- $resultJson->setData($response);
+ $resultJson->setData(['error' => 0]);
44
45
return $resultJson;
46
}
0 commit comments