Skip to content
This repository was archived by the owner on Nov 4, 2024. It is now read-only.

Conversation

@imt-mines-albi
Copy link
Contributor

  • contact auto-complete does not return the name part if the configured attribute is marked as single-value in ldap schema.
    (fixes no name displayed if name_field = "displayname" with OpenLDAP and inetorgperson.schema)

  • allows caps in plugin-ldap-contacts-suggestions.ini / name_field
    (fixes no name displayed if name_field = "displayName", because of "N" != "n")

$sName = \trim($aLdapItem[$sField][0]);
# The attribute is multi-valued
$value = $aLdapItem[$sField][0];
} else if ( defined($aLdapItem[$sField]) && is_string($aLdapItem[$sField]) )
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

defined?

@RainLoop RainLoop closed this Mar 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants