forked from friendica/friendica-addons
[twitter] Use correct variable name for emptiness test in twitter_convert_share()
This commit is contained in:
parent
cb34593770
commit
079e56fb1c
|
@ -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'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue