Correction de `input/phone` sur le modèle de `input/facebook`
[fix] gestion des relations
This commit is contained in:
parent
4eaf463928
commit
b446ecd09e
|
@ -315,7 +315,8 @@
|
||||||
/* (1) On récupére les ids des contacts */
|
/* (1) On récupére les ids des contacts */
|
||||||
$cIdList = [];
|
$cIdList = [];
|
||||||
foreach($file['contacts'] as $c=>$contact){
|
foreach($file['contacts'] as $c=>$contact){
|
||||||
$id = $contact['id'] - $offset;
|
$id = (int) $c;
|
||||||
|
|
||||||
if( !in_array($id, $cIdList) )
|
if( !in_array($id, $cIdList) )
|
||||||
$cIdList[$id] = null;
|
$cIdList[$id] = null;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
3881
|
3901
|
Loading…
Reference in New Issue