From 807ec89e006ca54d2f42a19641025a6815408ded Mon Sep 17 00:00:00 2001 From: Jeroen Dalsem Date: Fri, 10 Jan 2025 11:27:06 +0100 Subject: [PATCH] fixed: correctly add help text to access field --- classes/ColdTrick/BlogTools/FieldsHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/ColdTrick/BlogTools/FieldsHandler.php b/classes/ColdTrick/BlogTools/FieldsHandler.php index ca54695..1651e89 100644 --- a/classes/ColdTrick/BlogTools/FieldsHandler.php +++ b/classes/ColdTrick/BlogTools/FieldsHandler.php @@ -19,7 +19,7 @@ class FieldsHandler { public function __invoke(\Elgg\Event $event): ?array { $result = $event->getValue(); - foreach ($result as $field) { + foreach ($result as &$field) { if (elgg_extract('name', $field) !== 'access_id') { continue; }