Simplify check
This commit is contained in:
parent
1bbad87ff0
commit
032df50e9d
|
@ -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'] = '';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue