1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-31 13:50:23 +02:00

fix: php error in ViceBridge (#3003)

Fixes Undefined variable: article at bridges/ViceBridge.php line 37
This commit is contained in:
Dag
2022-09-04 22:58:58 +02:00
committed by GitHub
parent 9d16e81e17
commit cca11174e1

View File

@@ -34,7 +34,7 @@ class ViceBridge extends FeedExpander
// $articlePage gets the entire page's contents
$articlePage = getSimpleHTMLDOM($newsItem->link);
// text and embedded content
$article = $article . $articlePage->find('.article__body', 0);
$article = $articlePage->find('.article__body', 0);
$item['content'] = $article;
return $item;