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 d27232f commit daccc30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions blocks/iomad_company_admin/editcompanies.php
Expand Up @@ -445,6 +445,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 daccc30

Please sign in to comment.