diff --git a/twitter.tgz b/twitter.tgz index 9720e329..945586cf 100755 Binary files a/twitter.tgz and b/twitter.tgz differ diff --git a/twitter/twitter.php b/twitter/twitter.php index bd9eb18c..7dd083ea 100755 --- 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);