From 20fe1836fdcced12b48e0d510c3c3b86cc90f65f Mon Sep 17 00:00:00 2001 From: hanakin Date: Wed, 6 May 2020 23:30:40 -1000 Subject: [PATCH] [ticket/16237] Fix icon test PHPBB3-16237 --- phpBB/phpbb/template/twig/extension/icon.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phpBB/phpbb/template/twig/extension/icon.php b/phpBB/phpbb/template/twig/extension/icon.php index 2cf9bd353e..3869c63b2e 100644 --- a/phpBB/phpbb/template/twig/extension/icon.php +++ b/phpBB/phpbb/template/twig/extension/icon.php @@ -164,7 +164,8 @@ class icon extends \Twig\Extension\AbstractExtension 'CLASSES' => (string) $classes, 'ICON' => (string) $icon, 'SOURCE' => (string) $source, - 'TITLE' => (string) $title && $type === 'svg' ? unique_id() : '', + 'TITLE' => (string) $title, + 'TITLE_ID' => $title && $type === 'svg' ? unique_id() : '', 'VIEW_BOX' => (string) $view_box, 'S_HIDDEN' => (bool) $hidden, ]);