Follow up #1814 and #1822: LDAP sync BaseDN detection is broken because of ambiguously Coffescript syntax statement evaluation.
This commit is contained in:
parent
56a8481b64
commit
8db4ff31cf
1 changed files with 1 additions and 1 deletions
|
@ -294,7 +294,7 @@ class ConnectionWizard extends App.WizardModal
|
|||
|
||||
option = ''
|
||||
options = {}
|
||||
if !_.isEmpty data.attributes && !_.isEmpty data.attributes.namingcontexts
|
||||
if !_.isEmpty(data.attributes) && !_.isEmpty(data.attributes.namingcontexts)
|
||||
for dn in data.attributes.namingcontexts
|
||||
options[dn] = dn
|
||||
if option is ''
|
||||
|
|
Loading…
Reference in a new issue