summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/app.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/app.php b/lib/private/app.php
index e4b11f982dc..2887961754c 100644
--- a/lib/private/app.php
+++ b/lib/private/app.php
@@ -833,7 +833,8 @@ class OC_App {
foreach ($appList as $app) {
foreach ($remoteApps AS $key => $remote) {
if ($app['name'] === $remote['name'] ||
- $app['ocsid'] === $remote['id']) {
+ (isset($app['ocsid']) &&
+ $app['ocsid'] === $remote['id'])) {
unset($remoteApps[$key]);
}
}