Some notices had been removed / expiring of item related tables in twitter (#643)

* Some notices had been removed / expiring of item related tables in twitter

* Some more ...
This commit is contained in:
Michael Vogel 2018-07-15 20:40:20 +02:00 committed by Hypolite Petovan
parent abd52dbadd
commit e74ccf35c9
6 changed files with 45 additions and 16 deletions

View 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');