From 1f2fe25471f51115af4679ca17133acc934ca746 Mon Sep 17 00:00:00 2001 From: teromene Date: Tue, 17 Jul 2018 10:50:30 +0200 Subject: [PATCH] Fix LeBonCoinBridge, now uses getContents correctly, --- bridges/LeBonCoinBridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/LeBonCoinBridge.php b/bridges/LeBonCoinBridge.php index 8cfea7c..927b43e 100644 --- a/bridges/LeBonCoinBridge.php +++ b/bridges/LeBonCoinBridge.php @@ -159,7 +159,7 @@ class LeBonCoinBridge extends BridgeAbstract { ); $url = self::URI . 'recherche/?' . http_build_query($params); - $html = file_get_contents($url) + $html = getContents($url) or returnServerError('Could not request LeBonCoin. Tried: ' . $url); if(!preg_match('/^