1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-21 08:00:46 +01:00

[ticket/16237] Fix icon test

PHPBB3-16237
This commit is contained in:
hanakin 2020-05-06 23:30:40 -10:00
parent 6787170f3a
commit 20fe1836fd

View File

@ -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,
]);