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 7c2a6c1 commit 7c674efCopy full SHA for 7c674ef
app/code/Magento/Sales/Controller/AbstractController/Reorder.php
@@ -60,8 +60,9 @@ public function execute()
60
$this->messageManager->addErrorMessage(__('Invalid Form Key. Please refresh the page.'));
61
62
/** @var \Magento\Framework\Controller\Result\Redirect $redirect */
63
- $redirect=$this->resultFactory->create(ResultFactory::TYPE_REDIRECT);
64
- $redirect->setRefererUrl();
+ $redirect = $this->resultFactory->create(ResultFactory::TYPE_REDIRECT);
+ $redirect->setPath('*/*/history');
65
+
66
return $redirect;
67
}
68
} else {
0 commit comments