Skip to content

Commit

Permalink
fixed: concept groups edit save buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
jeabakker committed Sep 25, 2023
1 parent 2313a6d commit 1610dce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions views/default/forms/groups/edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@
}

if ((bool) elgg_get_plugin_setting('concept_groups', 'group_tools') && (!$entity instanceof \ElggGroup || (bool) $entity->is_concept)) {
if ($entity instanceof \ElggGroup) {
$buttons = [];
}

$buttons[] = [
'#type' => 'submit',
'name' => 'concept_group',
Expand Down

0 comments on commit 1610dce

Please sign in to comment.