Release 2.3.1 #46

Merged
MrPetovan merged 2 commits from release/2.3.1 into stable 2020-06-20 22:54:08 +02:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 0c203131b9 - Show all commits

View File

@ -141,7 +141,7 @@ class Profile
}
// Empty result is due to an offline site.
if (count($params) < 2) {
if (empty($params) || count($params) < 2) {
//But for sites that are already in bad status. Do a cleanup now.
if ($profile_id && $server['health_score'] < $this->settings['remove_profile_health_threshold']) {
$this->profileModel->deleteById($profile_id);

View File

@ -23,7 +23,7 @@ class Scrape
}
$params = json_decode($data, true);
if (!$params || !count($params)) {
if (empty($params) || !is_array($params)) {
return false;
}