Issue 3636: Avoid warning messages

This commit is contained in:
Michael 2017-08-20 20:51:07 +00:00
parent 403114fd35
commit 582e5d9bcc

View file

@ -1407,9 +1407,12 @@ function pumpio_getallusers(&$a, $uid) {
$success = false; $success = false;
} }
foreach ($users->items AS $user) if (is_array($users->items)) {
foreach ($users->items AS $user) {
pumpio_get_contact($uid, $user); pumpio_get_contact($uid, $user);
} }
}
}
function pumpio_queue_hook(&$a,&$b) { function pumpio_queue_hook(&$a,&$b) {