[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);
|
||||
|
||||
if ($article) {
|
||||
$article = defaultLinkTo($article, $uri);
|
||||
$item = $this->addArticleToItem($item, $article);
|
||||
}
|
||||
|
||||
return $item;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue