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

Use name instead of label when building form for Individuals

    Details

    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      After upgrading to 4.7, adding/editing an Individual in a multilingual CiviCRM installation fails.

      Backtrace:

      {{#0 /sites/all/modules/civicrm/CRM/Core/Form.php(1369): civicrm_api3("Contact", "getfield", (Array:4))
      #1 /sites/all/modules/civicrm/CRM/Contact/Form/Edit/Individual.php(82): CRM_Core_Form->addField("achternaam", (Array:0))}}

      Field is added with the (translated) label instead of the machine name.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              wdecraene Wim De Craene
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: