Simplify check

This commit is contained in:
Michael 2020-09-17 13:13:40 +00:00
parent 1bbad87ff0
commit 032df50e9d

View file

@ -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'] = '';
}