Browse Source

Fixing Activity value

pull/272/head
alxlaxv 7 years ago
committed by GitHub
parent
commit
ce35752f9a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/SupportedApps/Radarr.php

2
app/SupportedApps/Radarr.php

@ -97,7 +97,7 @@ class Radarr implements Contracts\Applications, Contracts\Livestats {
$client = new Client(['http_errors' => false, 'timeout' => 15, 'connect_timeout' => 15]);
$res = $client->request('GET', $api_url);
$queue = 0;
if (empty($res->getBody()))
if (!empty($res->getBody()))
{
$queue = sizeof($res->getBody());
}

Loading…
Cancel
Save