summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-12-22 19:35:41 +0100
committerFrederic Guillot <fred@kanboard.net>2015-12-22 19:35:41 +0100
commit8ff2032ea3fa49972fe076166c831719131e829d (patch)
tree28b714308536c393228c00168d165aef91e48178 /app
parenta16f3adc1efc2198038325a78bc153daab6db213 (diff)
Avoid PHP error when enabling LDAP group provider with PHP < 5.5
Diffstat (limited to 'app')
-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');
}