From d8acb62ba66bdd1ce317b2d283def116e5318f79 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 27 Aug 2017 07:02:44 +0000 Subject: [PATCH] Small formatting issue --- include/feed.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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'] != '')) { -- 2.39.5