From 1df16668466cc021d73d41b85d1cb2521d0a91fa Mon Sep 17 00:00:00 2001 From: OsaAjani Date: Mon, 23 May 2016 19:29:27 +0200 Subject: [PATCH] Fix contacts et groups sur l'api --- controllers/smsAPI.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controllers/smsAPI.php b/controllers/smsAPI.php index ea0288f..cb4f94f 100755 --- a/controllers/smsAPI.php +++ b/controllers/smsAPI.php @@ -79,8 +79,8 @@ unset($contacts[$key]); continue; } - $contact = $contact[0]; + $contact = $contact[0]; $contacts[$key] = $contact['id']; } @@ -92,8 +92,8 @@ unset($groups[$key]); continue; } - $group = $group[0]; + $group = $group[0]; $groups[$key] = $group['id']; }