[MarktplaatsBridge] 'https:' added to img src url (#1713)

This commit is contained in:
ggiessen 2020-08-24 07:30:59 +02:00 committed by GitHub
parent 25cff9c07b
commit 94576c3053
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,10 +93,10 @@ class MarktplaatsBridge extends BridgeAbstract {
if($this->getInput('i')) {
if(is_array($listing->imageUrls)) {
foreach($listing->imageUrls as $imgurl) {
$item['content'] .= "<br />\n<img src='" . $imgurl . "' />";
$item['content'] .= "<br />\n<img src='https:" . $imgurl . "' />";
}
} else {
$item['content'] .= "<br>\n<img src='" . $listing->imageUrls . "' />";
$item['content'] .= "<br>\n<img src='https:" . $listing->imageUrls . "' />";
}
}
}