mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 16:23:16 +00:00
Issue 3636: Avoid warning messages
This commit is contained in:
parent
403114fd35
commit
582e5d9bcc
1 changed files with 5 additions and 2 deletions
|
@ -1407,8 +1407,11 @@ function pumpio_getallusers(&$a, $uid) {
|
|||
$success = false;
|
||||
}
|
||||
|
||||
foreach ($users->items AS $user)
|
||||
pumpio_get_contact($uid, $user);
|
||||
if (is_array($users->items)) {
|
||||
foreach ($users->items AS $user) {
|
||||
pumpio_get_contact($uid, $user);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function pumpio_queue_hook(&$a,&$b) {
|
||||
|
|
Loading…
Reference in a new issue