Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-7443 Improve E_WARNING compliance.
  3. 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

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              pillarsdotnet Bob Vincent
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: