Fix notice because of missing array item
This commit is contained in:
parent
5c3607f69f
commit
465e1890b5
1 changed files with 1 additions and 1 deletions
|
@ -469,7 +469,7 @@ class GServer
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($id) && ($serverdata['network'] != Protocol::PHANTOM)) {
|
if (!empty($serverdata['network']) && !empty($id) && ($serverdata['network'] != Protocol::PHANTOM)) {
|
||||||
$gcontacts = DBA::count('gcontact', ['gsid' => $id]);
|
$gcontacts = DBA::count('gcontact', ['gsid' => $id]);
|
||||||
$apcontacts = DBA::count('apcontact', ['gsid' => $id]);
|
$apcontacts = DBA::count('apcontact', ['gsid' => $id]);
|
||||||
$contacts = DBA::count('contact', ['uid' => 0, 'gsid' => $id]);
|
$contacts = DBA::count('contact', ['uid' => 0, 'gsid' => $id]);
|
||||||
|
|
Loading…
Reference in a new issue