Some more notices in addons

This commit is contained in:
Michael 2018-08-01 17:28:55 +00:00
parent b8d0930665
commit 74353e7f2d
3 changed files with 7 additions and 3 deletions

View file

@ -443,7 +443,7 @@ function tumblr_send(App $a, array &$b) {
"<p>".$params['caption']."</p>";
}
if (empty($params['caption'])) {
if (empty($params['caption']) && !empty($siteinfo["description"])) {
$params['caption'] = BBCode::convert("[quote]" . $siteinfo["description"] . "[/quote]", false, 4);
}