Fix server polling error when body was unexpected JSON

This commit is contained in:
Hypolite Petovan 2018-11-15 23:29:17 -05:00
parent 31156b8643
commit fadb733527
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ class Server
$probe_result = $this->getProbeResult($polled_url);
$parse_success = !empty($probe_result['data']);
$parse_success = !empty($probe_result['data']['url']);
if ($parse_success) {
$base_url = $probe_result['data']['url'];