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

token regression on mailing labels in 4.4

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.5
    • Fix Version/s: 4.4.6
    • Component/s: None
    • Labels:
      None

      Description

      In 4.4.5 the

      {contact.contact_id}

      token no longer works in mailing labels

      The issue is that if an integer is correctly cast as an integer then the token is ignored. This regression came is as a result of a commit by Coleman labelled fix php warning which add the is_string check. I'm about 95% sure the warning would have been caused by arrays being passed in - in which case & !is_array() might have made sense. In any case I'm satisfied this patch is an improvement & the reason for the regression was over-sight

      https://github.com/civicrm/civicrm-core/pull/3474

        Attachments

          Activity

            People

            • Assignee:
              eileen Eileen McNaughton
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: