Skip to content

Commit f12dc59

Browse files
author
Hwashiang Yu
committed
MAGETWO-98157: User Role Template Update
- Resolved integration failures from improper string conversion - Resolved static test failure from code mess
1 parent 5dd689d commit f12dc59

File tree

1 file changed

+2
-1
lines changed
  • app/code/Magento/User/Block/Role/Grid

1 file changed

+2
-1
lines changed

app/code/Magento/User/Block/Role/Grid/User.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,10 +182,11 @@ protected function _prepareColumns()
182182
* Gets grid url
183183
*
184184
* @return string
185+
* @SuppressWarnings(PHPMD.RequestAwareBlockMethod)
185186
*/
186187
public function getGridUrl()
187188
{
188-
$roleId = $this->_escaper->escapeJs($this->escapeHtml($this->getRequest()->getParam('rid')));
189+
$roleId = $this->escapeHtml($this->getRequest()->getParam('rid'));
189190
return $this->getUrl('*/*/editrolegrid', ['rid' => $roleId]);
190191
}
191192

0 commit comments

Comments
 (0)