Skip to content

Commit 03ec571

Browse files
fix static test
1 parent 0189714 commit 03ec571

File tree

2 files changed

+3
-2
lines changed
  • app/code/Magento

2 files changed

+3
-2
lines changed

app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Orders.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@ protected function _prepareColumns()
160160
*/
161161
public function getRowUrl($row)
162162
{
163-
return $this->getUrl('sales/order/view', ['order_id' => $row->getId(), 'customer_id' => $this->getRequest()->getParam('id')]);
163+
return $this->getUrl('sales/order/view', ['order_id' => $row->getId(),
164+
'customer_id' => $this->getRequest()->getParam('id')]);
164165
}
165166

166167
/**

app/code/Magento/Sales/Block/Adminhtml/Order/View.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ protected function _isAllowedAction($resourceId)
449449
*/
450450
public function getBackUrl()
451451
{
452-
if($this->getRequest()->getParam('customer_id')) {
452+
if ($this->getRequest()->getParam('customer_id')) {
453453
return $this->getUrl('customer/index/edit', ['id'=> $this->getRequest()->getParam('customer_id')]);
454454
}
455455
if ($this->getOrder() && $this->getOrder()->getBackUrl()) {

0 commit comments

Comments
 (0)