diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-10-30 17:24:25 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-10-30 17:24:25 +0100 |
commit | 99921489cf2a35d19803e63be67a312ea30f51ac (patch) | |
tree | 53a7f570e6d8cb74762a434dd55563a898746c45 /lib | |
parent | 90e523ead09436c54993ea527a1eec3faad7a0bd (diff) | |
download | nextcloud-server-99921489cf2a35d19803e63be67a312ea30f51ac.tar.gz nextcloud-server-99921489cf2a35d19803e63be67a312ea30f51ac.zip |
prevent PHP notice
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/app.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/app.php b/lib/private/app.php index 8fcffbad950..73576088d15 100644 --- a/lib/private/app.php +++ b/lib/private/app.php @@ -990,7 +990,7 @@ class OC_App { public static function shouldUpgrade($app) { $versions = self::getAppVersions(); $currentVersion = OC_App::getAppVersion($app); - if ($currentVersion) { + if ($currentVersion && isset($versions[$app])) { $installedVersion = $versions[$app]; if (version_compare($currentVersion, $installedVersion, '>')) { return true; |