Skip to content

Commit

Permalink
fixed: correctly save tag fields
Browse files Browse the repository at this point in the history
  • Loading branch information
jeabakker committed Nov 5, 2024
1 parent e94deec commit 56021dd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions actions/static/edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@
return elgg_error_response(elgg_echo('error:missing_data'));
}

if ($field['#type'] === 'tags') {
$value = elgg_string_to_array((string) $value);
}

$values[$name] = $value;
}

Expand Down

0 comments on commit 56021dd

Please sign in to comment.