diff --git a/src/Update/LatestRelease.php b/src/Update/LatestRelease.php index 069aec919..df0c580e0 100644 --- a/src/Update/LatestRelease.php +++ b/src/Update/LatestRelease.php @@ -60,7 +60,7 @@ public function get($id) */ private function fetch() { - $saved_data = $this->getSavedReleaseFromFile(); + $saved_data = (object)$this->getSavedReleaseFromFile(); if (!isset($saved_data->check_date) || (int)$saved_data->check_date < strtotime('-' . self::TIME_BETWEEN_CHECKS)