|
|
|
@ -51,7 +51,7 @@ class NewsSource_NewsAPI extends NewsSource {
|
|
|
|
|
$title = $n['title'];
|
|
|
|
|
$image = $n['urlToImage'];
|
|
|
|
|
if (is_null($image)) {
|
|
|
|
|
continue;
|
|
|
|
|
$image = $SETTINGS["url"] . "/static/img/news-placeholder.svg";
|
|
|
|
|
}
|
|
|
|
|
$url = $n['url'];
|
|
|
|
|
$source = $n['source']['name'];
|
|
|
|
|