diff --git a/tumblr/tumblr.php b/tumblr/tumblr.php index 42518c05..650e0b18 100755 --- a/tumblr/tumblr.php +++ b/tumblr/tumblr.php @@ -201,7 +201,10 @@ function tumblr_send(&$a,&$b) { if (($link != '') and $video) { $params['type'] = "video"; $params['embed'] = $link; - $params['caption'] = bbcode($body); + if ($b['title'] != '') + $params['caption'] = '
".bbcode($body); + else + $params['caption'] = bbcode($body); } else if (($link != '') and !$video) { $params['type'] = "link"; $params['name'] = $b['title'];