We will be off from 27/1 (Monday) to 31/1 (Friday) (GMT +7) for our Tet Holiday (Lunar New Year) in our country

Commit 2fcdfa9e authored by cyattilakiss's avatar cyattilakiss Committed by GitHub

Update Controller/Process/Result.php

Co-Authored-By: default avatarAlessio Zampatti <gigendh@gmail.com>
parent 216266c3
...@@ -353,7 +353,7 @@ class Result extends \Magento\Framework\App\Action\Action ...@@ -353,7 +353,7 @@ class Result extends \Magento\Framework\App\Action\Action
if (!is_null($incrementId)) { if (!is_null($incrementId)) {
$this->_order = $this->_orderFactory->create()->loadByIncrementId($incrementId); $this->_order = $this->_orderFactory->create()->loadByIncrementId($incrementId);
} else { } else {
$this->_order = $this->_session->getLastRealOrder(); $this->_order = $this->_session->getLastRealOrder();
} }
} }
...@@ -388,4 +388,4 @@ class Result extends \Magento\Framework\App\Action\Action ...@@ -388,4 +388,4 @@ class Result extends \Magento\Framework\App\Action\Action
return $response; return $response;
} }
} }
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment