]> git.mxchange.org Git - friendica-addons.git/commitdiff
[twitter] Use correct variable name for emptiness test in twitter_convert_share()
authorHypolite Petovan <hypolite@mrpetovan.com>
Sat, 4 Apr 2020 16:36:33 +0000 (12:36 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sat, 4 Apr 2020 16:36:33 +0000 (12:36 -0400)
twitter/twitter.php

index bcbaabebe00e5ff4317257bf64275ac4c8869943..d269739112f91816b112e3928a2843157faf3d78 100644 (file)
@@ -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'];
        }