From eb4214821088529bc397af85ba2c5a2df5ba3c25 Mon Sep 17 00:00:00 2001 From: Robin Appelman <icewind@owncloud.com> Date: Sat, 18 Aug 2012 23:15:38 +0200 Subject: [PATCH] fix error in check if app is installed --- settings/ajax/apps/ocs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings/ajax/apps/ocs.php b/settings/ajax/apps/ocs.php index 5a326c125f..082f1cfb92 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; } } -- GitLab