Tables icon svg correction reports

This commit is contained in:
Jonathan 2023-03-09 16:33:58 +01:00
parent 7b3ed98d4b
commit 068f23f278

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( $output .= html_print_image(
'images/'.$icon.'.svg', 'images/'.$icon,
true, true,
[ [
'style' => $style, 'style' => $style,