Show news without images
This commit is contained in:
parent
bb3d80b86c
commit
737e26b279
@ -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'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user