Two devices non LACP, non LAG shows only one link on map

Hello,

I have use the same switch with on two vlans to connect some CEPH cluster nodes on 10GBps connection. On network map it is showing only one but with $config[‘gui’][‘network-map’][‘style’] = ‘old’; in config shows both. From how much debugging I know discovered that somewhere here:
" // Ensure only one link exists between any two ports, or any two devices. it prints only one link
if (!array_key_exists($link_id1, $link_assoc_seen) &&
!array_key_exists($link_id2, $link_assoc_seen) &&
!array_key_exists($device_id1, $device_assoc_seen) &&
!array_key_exists($device_id2, $device_assoc_seen)) {
$local_port = cleanPort($local_port);
$remote_port = cleanPort($remote_port);
// $local_port = cleanPort($items[‘local_port_id’]);
//$remote_port = cleanPort($items[‘remote_port_id’]);
$links[] = array_merge(
array(
‘from’=>$items[‘local_device_id’],
"
From /opt/librenms/html/includes/print-map.inc.php it cuts of one of the links. Did someone encounter this and fixed? If yes could you tell me how.

Best regards.