diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2013-03-19 13:39:52 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2013-03-19 14:39:56 +0100 |
commit | f38932fb801f101836e5b6144191cb9a3ee7901b (patch) | |
tree | aa2f5fe921fc803aa55b08dae84c58a9179d7a1c /apps/user_ldap | |
parent | e8100dc1a8f8b361d11cc0e82a18ade319092877 (diff) | |
download | nextcloud-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.php | 3 |
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\''; |