From: Michael Date: Thu, 17 Sep 2020 13:13:40 +0000 (+0000) Subject: Simplify check X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=032df50e9df72b0b37c2698c9e67aeb891f6ca88;p=friendica.git Simplify check --- diff --git a/src/Protocol/Feed.php b/src/Protocol/Feed.php index f414a3ca8a..103f7a9f08 100644 --- a/src/Protocol/Feed.php +++ b/src/Protocol/Feed.php @@ -563,7 +563,7 @@ class Feed $data_text = strip_tags(trim($data['text'] ?? '')); $item_body = strip_tags(trim($item['body'] ?? '')); - if (!empty($data['text']) && (($data_text == $item_body) || strstr($item_body, $data_text))) { + if (($data_text == $item_body) || strstr($item_body, $data_text)) { $data['text'] = ''; }