Merge pull request #421 from annando/issue-3636

Issue 3636: Avoid warning messages
This commit is contained in:
Tobias Diekershoff 2017-08-21 06:52:40 +02:00 committed by GitHub
commit 4ac6ce392a

View file

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