#10909 Fix icon group

This commit is contained in:
Daniel Maya 2023-04-12 12:23:54 +02:00
parent ad3f1dd8d6
commit d006bc3c3a
1 changed files with 3 additions and 1 deletions

View File

@ -920,8 +920,10 @@ if ($tab == 'tree') {
}
if ($group['icon'] != '') {
$extension = pathinfo($group['icon'], PATHINFO_EXTENSION);
$extension = (empty($extension) === true) ? '.png' : '';
$table->data[$key][2] = html_print_image(
'images/'.$group['icon'],
'images/'.$group['icon'].$extension,
true,
[
'style' => '',