mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-05 16:17:28 +02:00
refactor: FeedItem::setTimestamp() (#3711)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user