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

profile with no label for custom data field causes error in email template

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.2.1
    • Component/s: CiviCRM Profile
    • Labels:
      None

      Description

      Discussion here:
      http://forum.civicrm.org/index.php/topic,14883.0.html

      To reproduce:

      • create a custom data field with multiple checkboxes attached to participant records
      • create a profile that includes this field, but has no label
      • add the profile to an event registration page
      • use ONLINE registration page

      confirmation email displays the data as "0th, 0 12:00 AM"

      For OFFLINE registration, in which the custom data is entered directly into the custom data group and not via a profile, the confirmation emails still just say "Array". Problem seems to be that template doesn't handle $optionsPerLine properly.

        Attachments

          Activity

            People

            • Assignee:
              rahulbile Rahul Bile
              Reporter:
              kmarkley Kirk Markley
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: