summaryrefslogtreecommitdiffstats
path: root/settings/ajax/apps
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-08-18 23:15:38 +0200
committerRobin Appelman <icewind@owncloud.com>2012-08-18 23:15:38 +0200
commiteb4214821088529bc397af85ba2c5a2df5ba3c25 (patch)
tree84e793f7936bfea80eaf8f80854ba0f25bab0529 /settings/ajax/apps
parent596246989217143d78e8987fa7b2c4154806a644 (diff)
downloadnextcloud-server-eb4214821088529bc397af85ba2c5a2df5ba3c25.tar.gz
nextcloud-server-eb4214821088529bc397af85ba2c5a2df5ba3c25.zip
fix error in check if app is installed
Diffstat (limited to 'settings/ajax/apps')
-rw-r--r--settings/ajax/apps/ocs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/apps/ocs.php b/settings/ajax/apps/ocs.php
index 5a326c125f6..082f1cfb922 100644
--- a/settings/ajax/apps/ocs.php
+++ b/settings/ajax/apps/ocs.php
@@ -35,7 +35,7 @@ if(is_array($catagoryNames)){
// show only external apps that aren't enabled yet
$local=false;
foreach($enabledApps as $a){
- if($a['name'] == $app['name']) {
+ if($a == $app['name']) {
$local=true;
}
}