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:
d236048
)
Twitter: fix problem sending tweets in normal mode
author
Tobias Diekershoff
<tobias.diekershoff@gmx.net>
Sun, 4 Aug 2013 06:24:32 +0000
(08:24 +0200)
committer
Tobias Diekershoff
<tobias.diekershoff@gmx.net>
Sun, 4 Aug 2013 06:24:32 +0000
(08:24 +0200)
twitter/twitter.php
patch
|
blob
|
history
diff --git
a/twitter/twitter.php
b/twitter/twitter.php
index
bd9eb18
..
7dd083e
100755
(executable)
--- a/
twitter/twitter.php
+++ b/
twitter/twitter.php
@@
-622,11
+622,12
@@
function twitter_post_hook(&$a,&$b) {
}
$msg = trim($msg);
- } else
+ $image = "";
+ } else {
$msgarr = twitter_shortenmsg($b);
$msg = $msgarr["msg"];
$image = $msgarr["image"];
-
+ }
// and now tweet it :-)
if(strlen($msg) and ($image != "")) {
$img_str = fetch_url($image);