This commit is contained in:
xdrm-brackets 2016-11-25 13:08:18 +01:00
commit 92db51d7aa
1 changed files with 12 additions and 0 deletions

View File

@ -223,6 +223,12 @@
}
// On ajoute le sujet à la liste des contacts
$output['contacts.mini'] .= self::parseCSV([[
'id' => $subid,
'name' => $subject['subject']['name']
]], [], strlen($output['contacts.mini']) == 0);
/* (4) Si aucune relation -> suivant */
if( !isset($subject['relations']) || !is_array($subject['relations']) )
continue;
@ -392,6 +398,12 @@
}
// On ajoute le sujet à la liste des contacts
$output['gephi.nodes'] .= self::parseCSV([[
'id' => $subid,
'name' => $subject['subject']['name']
]], [], strlen($output['gephi.nodes']) == 0);
/* (4) Si aucune relation -> suivant */
if( !isset($subject['relations']) || !is_array($subject['relations']) )
continue;