diff --git a/build/api/module/input.php b/build/api/module/input.php index 74fea87..a0be1ba 100644 --- a/build/api/module/input.php +++ b/build/api/module/input.php @@ -315,7 +315,8 @@ /* (1) On récupére les ids des contacts */ $cIdList = []; foreach($file['contacts'] as $c=>$contact){ - $id = $contact['id'] - $offset; + $id = (int) $c; + if( !in_array($id, $cIdList) ) $cIdList[$id] = null; } diff --git a/build/lightdb/storage/uniqid b/build/lightdb/storage/uniqid index bdc194b..b9a6f7f 100644 --- a/build/lightdb/storage/uniqid +++ b/build/lightdb/storage/uniqid @@ -1 +1 @@ -3881 \ No newline at end of file +3901 \ No newline at end of file