CRM-7697 Either ensure that isDuplicate template variable always gets assigned, or modify templates to tolerate an unassigned isDuplicate variable.

    Details

    • Type: Sub-task
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.4.0, 4.0.0, 4.1.0, Unscheduled
    • Fix Version/s: 4.2.0
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Either ensure that isDuplicate template variable always gets assigned, or modify templates to tolerate an unassigned isDuplicate variable.

      The two attached patches are redundant; I'd prefer the first approach, but the second is smaller and surer.

      diffstat:
      CRM/Contact/Form/Contact.php | 3 ++-
      CRM/Profile/Form.php | 5 +++--
      templates/CRM/Contact/Form/Contact.tpl | 2 +-
      templates/CRM/Profile/Form/Dynamic.tpl | 2 +-
      4 files changed, 7 insertions, 5 deletions

        Attachments

          Activity

          [CRM-7697] Either ensure that isDuplicate template variable always gets assigned, or modify templates to tolerate an unassigned isDuplicate variable.
          Bob Vincent added a comment -

          I'm starting over in CRM-9034 and therefore no longer watching this issue nor its subtasks.

            People

            • Assignee:
              Donald A. Lobo
              Reporter:
              Bob Vincent

              Dates

              • Created:
                Updated:
                Resolved: