Skip to content

Commit

Permalink
Fix issue from file that was a symlink
Browse files Browse the repository at this point in the history
  • Loading branch information
murrant committed Jun 14, 2024
1 parent dbc1475 commit f1585e1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion includes/html/pages/device/neighbours.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

$selection = basename($vars['selection'] ?? 'list');

unset($sep);
$sep = '';
foreach ($datas as $type) {
echo $sep;

Expand Down
7 changes: 7 additions & 0 deletions includes/html/pages/device/neighbours/list.inc.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php
DeviceCache::get($device['device_id'])->load(['links.port', 'links.remoteDevice', 'links.remotePort']);
echo view('device.tabs.ports.links', [
'data' => [
'links' => DeviceCache::get($device['device_id'])->links,
],
]);

0 comments on commit f1585e1

Please sign in to comment.