From: Hypolite Petovan Date: Sat, 4 Apr 2020 16:36:33 +0000 (-0400) Subject: [twitter] Use correct variable name for emptiness test in twitter_convert_share() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=079e56fb1cb85c26ed970e050f186fbbe61e436d;p=friendica-addons.git [twitter] Use correct variable name for emptiness test in twitter_convert_share() --- diff --git a/twitter/twitter.php b/twitter/twitter.php index bcbaabeb..d2697391 100644 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -1956,7 +1956,7 @@ function twitter_update_mentions($body) function twitter_convert_share(array $attributes, array $author_contact, $content, $is_quote_share) { - if (empty($contact)) { + if (empty($author_contact)) { return $content . "\n\n" . $attributes['link']; }