Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-14350

Undefined index: contact_id_b warning when saving profiles in Drupal

    Details

    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Funding Source:
      Needs Funding

      Description

      If you try to save a profile page with a current employer field tied to Civi as a Drupal user, you get the following warnings:

      Notice: Undefined index: contact_id_b in civicrm_api3_relationship_create() (line 72 of /var/www/refresh.smpte.org/sites/all/modules/civicrm/api/v3/Relationship.php).
      Notice: Undefined index: contact_id_b in civicrm_api3_relationship_create() (line 72 of /var/www/refresh.smpte.org/sites/all/modules/civicrm/api/v3/Relationship.php).
      Notice: Undefined index: contact_id_a in civicrm_api3_relationship_create() (line 89 of /var/www/refresh.smpte.org/sites/all/modules/civicrm/api/v3/Relationship.php).

        Attachments

          Activity

            People

            • Assignee:
              peterh Peter Haight
              Reporter:
              peterh Peter Haight
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: