default title for wppost
This commit is contained in:
parent
591fa095aa
commit
e031a5209c
2 changed files with 3 additions and 3 deletions
BIN
wppost.tgz
BIN
wppost.tgz
Binary file not shown.
|
@ -168,8 +168,8 @@ function wppost_send(&$a,&$b) {
|
|||
|
||||
require_once('include/bbcode.php');
|
||||
|
||||
$post = (($b['title']) ? '<title>' . $b['title'] . '</title>' : '');
|
||||
$post .= bbcode($b['body']);
|
||||
$title = '<title>' . (($b['title']) ? $b['title'] : t('Post from Friendica')) . '</title>';
|
||||
$post = $title . bbcode($b['body']);
|
||||
$post = xmlify($post);
|
||||
|
||||
$xml = <<< EOT
|
||||
|
|
Loading…
Reference in a new issue