Skip to content

Commit 59c37fa

Browse files
committed
MAGETWO-55849: Customer can be deleted without Merchant permissions verification
1 parent eb832a2 commit 59c37fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/User/view/adminhtml/templates/user/roles_grid_js.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ require([
1414
], function(){
1515

1616
<?php $myBlock = $block->getLayout()->getBlock('user.roles.grid'); ?>
17-
<?php $editBlock = $block->getLayout()->getBlock('adminhtml.user.edit'); ?>
1817
<?php if (is_object($myBlock) && $myBlock->getJsObjectName()): ?>
1918
var radioBoxes = $H({});
2019
var warning = false;
@@ -73,6 +72,7 @@ require([
7372
});
7473
</script>
7574

75+
<?php $editBlock = $block->getLayout()->getBlock('adminhtml.user.edit'); ?>
7676
<?php if (is_object($editBlock)): ?>
7777
<script type="text/x-magento-init">
7878
{

0 commit comments

Comments
 (0)