Small formatting issue
This commit is contained in:
parent
a36c8a0173
commit
d8acb62ba6
1 changed files with 3 additions and 5 deletions
|
@ -346,11 +346,9 @@ function feed_import($xml,$importer,&$contact, &$hub, $simulate = false) {
|
||||||
}
|
}
|
||||||
$item["body"] = html2bbcode($body);
|
$item["body"] = html2bbcode($body);
|
||||||
|
|
||||||
if ($item["body"] == "") {
|
if (($item["body"] == '') && ($item["title"] != '')) {
|
||||||
if ($item["title"] != '') {
|
$item["body"] = $item["title"];
|
||||||
$item["body"] = $item["title"];
|
$item["title"] = '';
|
||||||
$item["title"] = '';
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!strstr($item["body"], '[url') && ($item['plink'] != '')) {
|
if (!strstr($item["body"], '[url') && ($item['plink'] != '')) {
|
||||||
|
|
Loading…
Reference in a new issue