Simplify check

This commit is contained in:
Michael 2020-09-17 13:13:40 +00:00
parent 1bbad87ff0
commit 032df50e9d
1 changed files with 1 additions and 1 deletions

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