mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-02 17:14:38 +02:00
refactor: FeedItem::setTimestamp() (#3711)
This commit is contained in:
parent
f421c45b21
commit
ae53adefad
5 changed files with 38 additions and 15 deletions
|
@ -54,7 +54,8 @@ class CNETFranceBridge extends FeedExpander
|
|||
}
|
||||
|
||||
foreach ($this->bannedURL as $term) {
|
||||
if (preg_match('/' . $term . '/mi', $item['uri']) === 1) {
|
||||
$preg_match = preg_match('#' . $term . '#mi', $item['uri']);
|
||||
if ($preg_match === 1) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue