Simplify check
This commit is contained in:
parent
1bbad87ff0
commit
032df50e9d
1 changed files with 1 additions and 1 deletions
|
@ -563,7 +563,7 @@ class Feed
|
||||||
$data_text = strip_tags(trim($data['text'] ?? ''));
|
$data_text = strip_tags(trim($data['text'] ?? ''));
|
||||||
$item_body = strip_tags(trim($item['body'] ?? ''));
|
$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'] = '';
|
$data['text'] = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue