mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-03 20:14:52 +02:00
minor fix
Former-commit-id: 1ccd9e446645362fb9b305a699527c5aa2c20369
This commit is contained in:
parent
bc1195e78e
commit
a4c048dd29
@ -1980,6 +1980,7 @@ class NetworkMap
|
||||
$i++;
|
||||
}
|
||||
|
||||
if (!$this->relations) {
|
||||
// Search for relations.
|
||||
foreach ($this->nodes as $k => $item) {
|
||||
$target = $this->calculateRelations($k);
|
||||
@ -2007,7 +2008,11 @@ class NetworkMap
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$edges = $this->relations;
|
||||
}
|
||||
|
||||
if (is_array($edges)) {
|
||||
foreach ($edges as $rel) {
|
||||
$graph .= $this->createDotEdge(
|
||||
[
|
||||
@ -2016,6 +2021,9 @@ class NetworkMap
|
||||
]
|
||||
);
|
||||
}
|
||||
} else {
|
||||
$edges = [];
|
||||
}
|
||||
|
||||
if (isset($this->noPandoraNode) === false
|
||||
|| $this->noPandoraNode == false
|
||||
|
Loading…
x
Reference in New Issue
Block a user