Needs quotes around the defines to avoid a php warning.
Are you referring to these ?
// Private constants (default values). Do not touch either define(LDAP_DEFAULT_GROUP_DN_ATTRIBUTE, 'ou'); define(LDAP_DEFAULT_GROUP_ATTR, 'userGroups'); define(LDAP_DEFAULT_GROUP_ENTRIES, 'cn=Group,dc=example,dc=com'); define(LDAP_DEFAULT_GROUP_ENTRIES_ATTRIBUTE, 'memberUid');
they already have quotes ...
Only the value has quotes, the names need them too....
fixed in HEAD
Comments
Comment #1
kreaper commentedComment #2
kreaper commentedAre you referring to these ?
// Private constants (default values). Do not touch either
define(LDAP_DEFAULT_GROUP_DN_ATTRIBUTE, 'ou');
define(LDAP_DEFAULT_GROUP_ATTR, 'userGroups');
define(LDAP_DEFAULT_GROUP_ENTRIES, 'cn=Group,dc=example,dc=com');
define(LDAP_DEFAULT_GROUP_ENTRIES_ATTRIBUTE, 'memberUid');
they already have quotes ...
Comment #3
steveh2 commentedOnly the value has quotes, the names need them too....
Comment #4
kreaper commentedfixed in HEAD
Comment #5
kreaper commented