diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-12-22 19:35:41 +0100 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-12-22 19:35:41 +0100 |
commit | 8ff2032ea3fa49972fe076166c831719131e829d (patch) | |
tree | 28b714308536c393228c00168d165aef91e48178 /app | |
parent | a16f3adc1efc2198038325a78bc153daab6db213 (diff) |
Avoid PHP error when enabling LDAP group provider with PHP < 5.5
Diffstat (limited to 'app')
-rw-r--r-- | app/Group/LdapBackendGroupProvider.php | 2 |
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'); } |