Skip to content

Commit

Permalink
IOMAD: enable shop access button being read as delete company
Browse files Browse the repository at this point in the history
  • Loading branch information
turf212 committed Apr 23, 2024
1 parent f38f8db commit d86ea28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions blocks/iomad_company_admin/editcompanies.php
Expand Up @@ -410,6 +410,7 @@

unset($linkparams['suspend']);
unset($linkparams['unsuspend']);
unset($linkparams['delete']);

if (empty($CFG->commerce_admin_enableall) && iomad::has_capability('block/iomad_company_admin:company_add', $context)) {
if (!empty($company->ecommerce)) {
Expand Down

0 comments on commit d86ea28

Please sign in to comment.