mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-25 19:06:23 +03:00
[HeiseBridge] Check for article (#1790)
This commit is contained in:
parent
b66026e241
commit
cc548b16a8
1 changed files with 4 additions and 2 deletions
|
@ -45,8 +45,10 @@ class HeiseBridge extends FeedExpander {
|
|||
$article = getSimpleHTMLDOMCached($uri)
|
||||
or returnServerError('Could not open article: ' . $uri);
|
||||
|
||||
$article = defaultLinkTo($article, $uri);
|
||||
$item = $this->addArticleToItem($item, $article);
|
||||
if ($article) {
|
||||
$article = defaultLinkTo($article, $uri);
|
||||
$item = $this->addArticleToItem($item, $article);
|
||||
}
|
||||
|
||||
return $item;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue