Skip to content

Commit

Permalink
Fix computer link on virtualization tab
Browse files Browse the repository at this point in the history
  • Loading branch information
cedric-anne committed Feb 5, 2025
1 parent 66b277c commit 553aab6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ItemVirtualMachine.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ public static function showForVirtualMachine(CommonDBTM $asset)
foreach ($hosts as $host) {
if ($computer->can($host['items_id'], READ)) {
$entries[] = [
'name' => $computer->getLink($host['items_id']),
'name' => $computer->getLink(),
'serial' => $computer->fields['serial'],
'comment' => $computer->fields['comment'],
'entity' => Dropdown::getDropdownName('glpi_entities', $computer->fields['entities_id'])
Expand Down

0 comments on commit 553aab6

Please sign in to comment.