mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-01 14:24:39 +03:00
fix: php error in ViceBridge (#3003)
Fixes Undefined variable: article at bridges/ViceBridge.php line 37
This commit is contained in:
parent
9d16e81e17
commit
cca11174e1
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ class ViceBridge extends FeedExpander
|
||||||
// $articlePage gets the entire page's contents
|
// $articlePage gets the entire page's contents
|
||||||
$articlePage = getSimpleHTMLDOM($newsItem->link);
|
$articlePage = getSimpleHTMLDOM($newsItem->link);
|
||||||
// text and embedded content
|
// text and embedded content
|
||||||
$article = $article . $articlePage->find('.article__body', 0);
|
$article = $articlePage->find('.article__body', 0);
|
||||||
$item['content'] = $article;
|
$item['content'] = $article;
|
||||||
|
|
||||||
return $item;
|
return $item;
|
||||||
|
|
Loading…
Add table
Reference in a new issue