From: Michael Date: Sun, 27 Aug 2017 07:02:44 +0000 (+0000) Subject: Small formatting issue X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d8acb62ba66bdd1ce317b2d283def116e5318f79;p=friendica.git Small formatting issue --- diff --git a/include/feed.php b/include/feed.php index 91bbb286ed..74cff76733 100644 --- a/include/feed.php +++ b/include/feed.php @@ -346,11 +346,9 @@ function feed_import($xml,$importer,&$contact, &$hub, $simulate = false) { } $item["body"] = html2bbcode($body); - if ($item["body"] == "") { - if ($item["title"] != '') { - $item["body"] = $item["title"]; - $item["title"] = ''; - } + if (($item["body"] == '') && ($item["title"] != '')) { + $item["body"] = $item["title"]; + $item["title"] = ''; } if (!strstr($item["body"], '[url') && ($item['plink'] != '')) {