https://reisub.nsupdate.info/git
/
friendica-addons.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb34593
)
[twitter] Use correct variable name for emptiness test in twitter_convert_share()
author
Hypolite Petovan
<hypolite@mrpetovan.com>
Sat, 4 Apr 2020 16:36:33 +0000
(12:36 -0400)
committer
Hypolite Petovan
<hypolite@mrpetovan.com>
Sat, 4 Apr 2020 16:36:33 +0000
(12:36 -0400)
twitter/twitter.php
patch
|
blob
|
history
diff --git
a/twitter/twitter.php
b/twitter/twitter.php
index
bcbaabe
..
d269739
100644
(file)
--- 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'];
}