default title for wppost

pull/1/merge
friendica 2011-11-13 15:49:19 -08:00
parent 591fa095aa
commit e031a5209c
2 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

@ -168,9 +168,9 @@ function wppost_send(&$a,&$b) {
require_once('include/bbcode.php'); require_once('include/bbcode.php');
$post = (($b['title']) ? '<title>' . $b['title'] . '</title>' : ''); $title = '<title>' . (($b['title']) ? $b['title'] : t('Post from Friendica')) . '</title>';
$post .= bbcode($b['body']); $post = $title . bbcode($b['body']);
$post = xmlify($post); $post = xmlify($post);
$xml = <<< EOT $xml = <<< EOT