Fix wrong variable name
This commit is contained in:
parent
e1786b6747
commit
505cca942b
|
@ -1343,7 +1343,7 @@ class GContact
|
||||||
foreach ($contacts as $contact) {
|
foreach ($contacts as $contact) {
|
||||||
$gcontact = DBA::selectFirst('gcontact', ['id'], ['nurl' => Strings::normaliseLink(($contact))]);
|
$gcontact = DBA::selectFirst('gcontact', ['id'], ['nurl' => Strings::normaliseLink(($contact))]);
|
||||||
if (DBA::isResult($gcontact)) {
|
if (DBA::isResult($gcontact)) {
|
||||||
$field = [];
|
$fields = [];
|
||||||
if (in_array($contact, $followers)) {
|
if (in_array($contact, $followers)) {
|
||||||
$fields = ['gcid' => $gcid, 'follower-gcid' => $gcontact['id']];
|
$fields = ['gcid' => $gcid, 'follower-gcid' => $gcontact['id']];
|
||||||
} elseif (in_array($contact, $followings)) {
|
} elseif (in_array($contact, $followings)) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user