From 56021dd43eec4f394dab430b59cfafb8d552830d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jer=C3=B4me=20Bakker?= Date: Tue, 5 Nov 2024 10:54:28 +0100 Subject: [PATCH] fixed: correctly save tag fields --- actions/static/edit.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/actions/static/edit.php b/actions/static/edit.php index ef466db..b66e2e2 100644 --- a/actions/static/edit.php +++ b/actions/static/edit.php @@ -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; }