summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2013-03-19 13:39:52 +0100
committerArthur Schiwon <blizzz@owncloud.com>2013-03-19 14:39:56 +0100
commitf38932fb801f101836e5b6144191cb9a3ee7901b (patch)
treeaa2f5fe921fc803aa55b08dae84c58a9179d7a1c /apps/user_ldap
parente8100dc1a8f8b361d11cc0e82a18ade319092877 (diff)
downloadnextcloud-server-f38932fb801f101836e5b6144191cb9a3ee7901b.tar.gz
nextcloud-server-f38932fb801f101836e5b6144191cb9a3ee7901b.zip
LDAP: specify appid when selecting from appconfig
Diffstat (limited to 'apps/user_ldap')
-rw-r--r--apps/user_ldap/lib/helper.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/helper.php b/apps/user_ldap/lib/helper.php
index 308da3ef724..612a088269b 100644
--- a/apps/user_ldap/lib/helper.php
+++ b/apps/user_ldap/lib/helper.php
@@ -51,7 +51,8 @@ class Helper {
$query = '
SELECT DISTINCT `configkey`
FROM `*PREFIX*appconfig`
- WHERE `configkey` LIKE ?
+ WHERE `appid` = \'user_ldap\'
+ AND `configkey` LIKE ?
';
if($activeConfigurations) {
$query .= ' AND `configvalue` = \'1\'';