#10909 Fix icon group
This commit is contained in:
parent
ad3f1dd8d6
commit
d006bc3c3a
|
@ -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' => '',
|
||||
|
|
Loading…
Reference in New Issue