mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-30 05:16:28 +02:00
Fix contacts et groups sur l'api
This commit is contained in:
parent
159721905c
commit
cdedb023d7
1 changed files with 2 additions and 2 deletions
|
@ -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'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue