Skip to content
Snippets Groups Projects
Commit da388aa1 authored by Christophe Simonis's avatar Christophe Simonis
Browse files

[MERGE] forward port branch saas-6 up to eb4f0309

parents c8ca71fc eb4f0309
Branches
Tags
No related merge requests found
......@@ -84,7 +84,7 @@ class CompanyLDAP(osv.osv):
_logger.warning('Could not format LDAP filter. Your filter should contain one \'%s\'.')
return False
try:
results = self.query(conf, filter)
results = self.query(conf, filter.encode('utf-8'))
# Get rid of (None, attrs) for searchResultReference replies
results = [i for i in results if i[0]]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment