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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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;