From 079e56fb1cb85c26ed970e050f186fbbe61e436d Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sat, 4 Apr 2020 12:36:33 -0400 Subject: [PATCH] [twitter] Use correct variable name for emptiness test in twitter_convert_share() --- twitter/twitter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twitter/twitter.php b/twitter/twitter.php index bcbaabebe..d26973911 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']; }