]> git.mxchange.org Git - friendica-addons.git/blobdiff - tumblr/tumblr.php
Some notices had been removed / expiring of item related tables in twitter (#643)
[friendica-addons.git] / tumblr / tumblr.php
index b2dec5b544a3735c35fc74fc785f011b66abb372..9617a3a0783c4f0506454aaebd94b26846779e8f 100644 (file)
@@ -412,7 +412,7 @@ function tumblr_send(&$a,&$b) {
                        $params['caption'] = '<h1>'.$title."</h1>".
                                                "<p>".$params['caption']."</p>";
 
-               if (trim($params['caption']) == "")
+               if (empty($params['caption']))
                        $params['caption'] = BBCode::convert("[quote]" . $siteinfo["description"] . "[/quote]", false, 4);
 
                $consumer_key = Config::get('tumblr','consumer_key');