From 014d0d470e1845a8177639598a153006127768e0 Mon Sep 17 00:00:00 2001 From: Corentin Garcia Date: Thu, 13 Jul 2017 17:54:48 +0200 Subject: [PATCH] RainbowSixSiegeBridge fix url coding style error --- bridges/RainbowSixSiegeBridge.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bridges/RainbowSixSiegeBridge.php b/bridges/RainbowSixSiegeBridge.php index 76794500..1e0fa9db 100644 --- a/bridges/RainbowSixSiegeBridge.php +++ b/bridges/RainbowSixSiegeBridge.php @@ -8,10 +8,10 @@ class RainbowSixSiegeBridge extends BridgeAbstract { const DESCRIPTION = 'Latest articles from the Rainbow Six Siege blog'; public function collectData(){ - $jsonString = getContents("https://prod-tridionservice.ubisoft.com/live/v1/News/Latest?templateId=tcm%3A152-7677" . - "8-32&pageIndex=0&pageSize=10&language=en-US&detailPageId=tcm%3A152-194572-64" . - "&keywordList=175426&siteId=undefined&useSeoFriendlyUrl=true") - or returnServerError('Error while downloading the website content'); + $dlUrl = "https://prod-tridionservice.ubisoft.com/live/v1/News/Latest?templateId=tcm%3A152-7677"; + $dlUrl .= "8-32&pageIndex=0&pageSize=10&language=en-US&detailPageId=tcm%3A152-194572-64"; + $dlUrl .= "&keywordList=175426&siteId=undefined&useSeoFriendlyUrl=true"; + $jsonString = getContents($dlUrl) or returnServerError('Error while downloading the website content'); $json = json_decode($jsonString, true); $json = $json['items'];