From: Michael Date: Thu, 12 Mar 2020 18:58:48 +0000 (+0000) Subject: Fix wrong variable name X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=505cca942b8facaaca416087b4ddd6647239e007;p=friendica.git Fix wrong variable name --- diff --git a/src/Model/GContact.php b/src/Model/GContact.php index 5bcac5a013..2606edb9e4 100644 --- a/src/Model/GContact.php +++ b/src/Model/GContact.php @@ -1343,7 +1343,7 @@ class GContact foreach ($contacts as $contact) { $gcontact = DBA::selectFirst('gcontact', ['id'], ['nurl' => Strings::normaliseLink(($contact))]); if (DBA::isResult($gcontact)) { - $field = []; + $fields = []; if (in_array($contact, $followers)) { $fields = ['gcid' => $gcid, 'follower-gcid' => $gcontact['id']]; } elseif (in_array($contact, $followings)) {