Tables icon svg correction reports

This commit is contained in:
Jonathan 2023-03-09 16:33:58 +01:00
parent 7b3ed98d4b
commit 068f23f278
1 changed files with 2 additions and 1 deletions

View File

@ -727,8 +727,9 @@ function ui_print_group_icon($id_group, $return=false, $path='', $style='', $lin
}
}
$icon = (str_contains($icon, '.svg') === true) ? $icon : $icon.'.svg';
$output .= html_print_image(
'images/'.$icon.'.svg',
'images/'.$icon,
true,
[
'style' => $style,