summaryrefslogtreecommitdiff
path: root/app/Group/LdapBackendGroupProvider.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Group/LdapBackendGroupProvider.php')
-rw-r--r--app/Group/LdapBackendGroupProvider.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Group/LdapBackendGroupProvider.php b/app/Group/LdapBackendGroupProvider.php
index d65a9865..cad732c4 100644
--- a/app/Group/LdapBackendGroupProvider.php
+++ b/app/Group/LdapBackendGroupProvider.php
@@ -45,7 +45,7 @@ class LdapBackendGroupProvider extends Base implements GroupBackendProviderInter
*/
public function getLdapGroupPattern($input)
{
- if (empty(LDAP_GROUP_FILTER)) {
+ if (LDAP_GROUP_FILTER === '') {
throw new LogicException('LDAP group filter empty, check the parameter LDAP_GROUP_FILTER');
}