Merge pull request #8693 from annando/notice
Fix notice because of missing array item
This commit is contained in:
commit
133de9b524
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]);
|
||||
$apcontacts = DBA::count('apcontact', ['gsid' => $id]);
|
||||
$contacts = DBA::count('contact', ['uid' => 0, 'gsid' => $id]);
|
||||
|
|
Loading…
Reference in a new issue