From e3ea78e043a3736f9d3c5a615fcf1a684e26258a Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Wed, 13 Mar 2024 21:46:40 +0800 Subject: [PATCH] MDL-81222 core: Show all tags for a hook in summary page --- lib/classes/hooks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/classes/hooks.php b/lib/classes/hooks.php index b2eccd3ddb0..e2b03277ff3 100644 --- a/lib/classes/hooks.php +++ b/lib/classes/hooks.php @@ -87,7 +87,7 @@ final class hooks implements \core\hook\discovery_agent { } if ($tags = attribute_helper::instance($classname, \core\attribute\tags::class)) { - $hooks[$classname]['tags'][] = $tags->tags; + $hooks[$classname]['tags'] = $tags->tags; } } }