1
0
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:
Dag
2023-09-26 00:27:45 +02:00
committed by GitHub
parent f421c45b21
commit ae53adefad
5 changed files with 38 additions and 15 deletions

View File

@@ -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;
}
}