Skip to content

Commit

Permalink
chore: fixed PHP notice in group tool preset template
Browse files Browse the repository at this point in the history
  • Loading branch information
jeabakker committed Oct 21, 2024
1 parent 0bf0827 commit 234857a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/default/group_tools/elements/group_tool_preset.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@

$edit .= elgg_view('groups/edit/tool', [
'tool' => $group_tool,
'value' => elgg_extract($metadata_name, $values['tools']),
'value' => $values ? elgg_extract($metadata_name, $values['tools']) : null,
'name' => "params[{$index}][tools][{$metadata_name}]",
'class' => 'mbs',
]);
Expand Down

0 comments on commit 234857a

Please sign in to comment.