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 using shared user profiles across multiple sites via database prefixing, the profile2_update_7101 and profile2_update_7102 update scripts will run into errors after the fields have already been added.
Comment | File | Size | Author |
---|---|---|---|
#1 | profile2-n1881414.patch | 2.86 KB | DamienMcKenna |
Comments
Comment #1
DamienMcKennaThis patch adds a !db_field_exists() check before adding each new field, and leaves a message via drupal_set_message() if the field happened to exist already.