LDAP: specify appid when selecting from appconfig

This commit is contained in:
Arthur Schiwon 2013-03-19 13:39:52 +01:00
parent e8100dc1a8
commit f38932fb80
1 changed files with 2 additions and 1 deletions

View File

@ -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\'';