mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-03-14 20:21:14 +03:00
fix: type error in function call (#2769)
Fixes: Argument 2 passed to getContents() must be of the type array, int given
This commit is contained in:
parent
1fd2f37bb4
commit
d60d8313d0
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ class MarktplaatsBridge extends BridgeAbstract {
|
|||
}
|
||||
}
|
||||
$url = 'https://www.marktplaats.nl/lrp/api/search?query=' . urlencode($this->getInput('q')) . $query;
|
||||
$jsonString = getSimpleHTMLDOM($url, 900);
|
||||
$jsonString = getSimpleHTMLDOM($url);
|
||||
$jsonObj = json_decode($jsonString);
|
||||
foreach($jsonObj->listings as $listing) {
|
||||
if(!$excludeGlobal || $listing->location->distanceMeters >= 0) {
|
||||
|
|
Loading…
Add table
Reference in a new issue