Fixed endpoint address

HFP-794
pull/36/head
thomasmars 2017-03-02 14:25:30 +01:00
parent 79e32f0a7f
commit c0e82edfb4
1 changed files with 1 additions and 1 deletions

View File

@ -2783,7 +2783,7 @@ class H5PCore {
$protocol = (extension_loaded('openssl') ? 'https' : 'http');
$endpoint = H5PCore::$hubEndpoints[H5PCore::CONTENT_TYPES];
$data = $interface->fetchExternalData($protocol . $endpoint, $postData);
$data = $interface->fetchExternalData("{$protocol}://{$endpoint}", $postData);
// No data received
if (!$data) {