From: Arthur Schiwon Date: Tue, 19 Mar 2013 12:39:52 +0000 (+0100) Subject: LDAP: specify appid when selecting from appconfig X-Git-Tag: v6.0.0alpha2~1041 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f38932fb801f101836e5b6144191cb9a3ee7901b;p=nextcloud-server.git LDAP: specify appid when selecting from appconfig --- 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\'';