Fix contacts et groups sur l'api

This commit is contained in:
OsaAjani 2016-05-23 19:29:27 +02:00
parent 60db1ac833
commit 1df1666846
1 changed files with 2 additions and 2 deletions

View File

@ -79,8 +79,8 @@
unset($contacts[$key]); unset($contacts[$key]);
continue; continue;
} }
$contact = $contact[0];
$contact = $contact[0];
$contacts[$key] = $contact['id']; $contacts[$key] = $contact['id'];
} }
@ -92,8 +92,8 @@
unset($groups[$key]); unset($groups[$key]);
continue; continue;
} }
$group = $group[0];
$group = $group[0];
$groups[$key] = $group['id']; $groups[$key] = $group['id'];
} }