mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
custom link colors
Former-commit-id: 9aa8f8114494d8b8fd8f010fa5066142fd104f70
This commit is contained in:
parent
9ef66a11c4
commit
e31607a4e0
@ -1781,7 +1781,7 @@ class NetworkMap
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($rel['link_color'])) {
|
||||
if (isset($rel['link_color']) && !empty($rel['link_color'])) {
|
||||
// Direct color definition.
|
||||
$item['link_color'] = $rel['link_color'];
|
||||
} else {
|
||||
@ -2463,6 +2463,7 @@ class NetworkMap
|
||||
'id_child_source_data' => $rel['id_child_source_data'],
|
||||
'id_parent_agent' => $rel['id_parent_agent'],
|
||||
'id_child_agent' => $rel['id_child_agent'],
|
||||
'link_color' => $rel['link_color'],
|
||||
];
|
||||
|
||||
$found = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user