diff --git a/lib/private/Installer.php b/lib/private/Installer.php index dc1110c049..a410c6a011 100644 --- a/lib/private/Installer.php +++ b/lib/private/Installer.php @@ -391,6 +391,10 @@ class Installer { foreach($this->apps as $app) { if($app['id'] === $appId) { $currentVersion = OC_App::getAppVersion($appId); + + if (!isset($app['releases'][0]['version'])) { + return false; + } $newestVersion = $app['releases'][0]['version']; if ($currentVersion !== '0' && version_compare($newestVersion, $currentVersion, '>')) { return $newestVersion;