Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I try to modify LDAP attributes I sometimes get the following error in the removeUnchangedAttributes function:
Notice: Undefined variable: old_value_is_scalar in LdapServer::removeUnchangedAttributes() (line 509 of /var/www/html/drupal/dev/sites/all/modules/contrib/ldap/ldap_servers/LdapServer.class.php).
This is due to an uninitialized variable. Here is a simple patch to initialize it properly.
Comment | File | Size | Author |
---|---|---|---|
LdapServer.class_.php_.patch | 403 bytes | pvasener | |
Comments
Comment #1
johnbarclay CreditAttribution: johnbarclay commentedComment #2
johnbarclay CreditAttribution: johnbarclay commentedComment #4
grahlLooks good, committing without test.