Merge pull request #974 from MrPetovan/bug/notices

[twitter] Use correct variable name for emptiness test in twitter_convert_share()
pull/975/head
Tobias Diekershoff 2020-04-04 19:12:19 +02:00 committed by GitHub
commit 786de7b891
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1956,7 +1956,7 @@ function twitter_update_mentions($body)
function twitter_convert_share(array $attributes, array $author_contact, $content, $is_quote_share) 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']; return $content . "\n\n" . $attributes['link'];
} }